Rev 6826 | Rev 8827 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1665 | Nasarus | 1 | |
2 | { |
||
3 | |||
4 | |||
5 | char temp[FILENAME_MAX]; |
||
6826 | siemargl | 6 | unsigned result; |
1665 | Nasarus | 7 | |
8 | |||
6822 | siemargl | 9 | { |
1665 | Nasarus | 10 | #if LANG_ENG |
1668 | Nasarus | 11 | printf(" touch |
12 | #elif LANG_RUS |
||
13 | printf(" touch <имя файла>\n\r"); |
||
14 | #endif |
||
15 | return TRUE; |
||
3247 | Albom | 16 | } |
1665 | Nasarus | 17 | |
18 | |||
19 | { |
||
20 | return FALSE; |
||
21 | } |
||
22 | |||
23 | |||
24 | { |
||
25 | strcpy(temp, file); |
||
26 | |||
27 | |||
28 | k70.p00 = 2; |
||
29 | else |
||
30 | k70.p00 = 3; |
||
31 | } |
||
32 | else |
||
33 | { |
||
34 | strcpy(temp, cur_dir); |
||
35 | if (temp[strlen(temp)-1] != '/') |
||
6826 | siemargl | 36 | strcat(temp, "/"); // add slash |
37 | strcat(temp, file); |
||
1665 | Nasarus | 38 | if ( !file_check(temp) ) |
39 | k70.p00 = 2; |
||
40 | else |
||
41 | k70.p00 = 3; |
||
42 | } |
||
43 | |||
44 | |||
45 | //k70.p08 = 0; |
||
6857 | siemargl | 46 | k70.p12 = 0; |
1665 | Nasarus | 47 | k70.p16 = 0; |
48 | k70.p20 = 0; |
||
49 | k70.p21 = temp; |
||
50 | |||
51 | |||
6826 | siemargl | 52 | |
53 | |||
1665 | Nasarus | 54 | |
55 | |||
56 | return TRUE; |
||
57 | else |
||
58 | return FALSE; |
||
59 | |||
60 | |||
61 |