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 (" rm |
12 | #elif LANG_RUS |
||
13 | printf (" rm <имя файла>\n\r"); |
||
14 | #endif |
||
15 | return TRUE; |
||
3247 | Albom | 16 | } |
1665 | Nasarus | 17 | |
18 | |||
19 | { |
||
20 | strcpy(temp, file); |
||
21 | |||
22 | |||
23 | { |
||
24 | return FALSE; |
||
25 | } |
||
26 | } |
||
27 | else |
||
28 | { |
||
29 | strcpy(temp, cur_dir); |
||
30 | if (temp[strlen(temp)-1] != '/') |
||
6826 | siemargl | 31 | strcat(temp, "/"); // add slash |
32 | strcat(temp, file); |
||
1665 | Nasarus | 33 | |
34 | |||
35 | { |
||
36 | return FALSE; |
||
37 | } |
||
38 | } |
||
39 | |||
40 | |||
41 | k70.p04 = 0; |
||
42 | //k70.p08 = 0; |
||
6857 | siemargl | 43 | k70.p12 = 0; |
1665 | Nasarus | 44 | k70.p16 = 0; |
45 | k70.p20 = 0; |
||
46 | k70.p21 = temp; |
||
47 | |||
48 | |||
49 | |||
50 | |||
51 | return TRUE; |
||
52 | else |
||
53 | return FALSE; |
||
54 | |||
55 | |||
56 |