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 | |||
6826 | siemargl | 5 | kol_struct70 k70; |
1665 | Nasarus | 6 | unsigned result; |
7 | |||
8 | |||
9 | { |
||
10 | #if LANG_ENG |
||
1668 | Nasarus | 11 | printf(" mkdir |
12 | #elif LANG_RUS |
||
13 | printf(" mkdir <директория>\n\r"); |
||
14 | #endif |
||
15 | return TRUE; |
||
3247 | Albom | 16 | } |
1665 | Nasarus | 17 | |
18 | |||
19 | |||
20 | { |
||
21 | return FALSE; |
||
22 | } |
||
23 | |||
24 | |||
25 | k70.p04 = 0; |
||
26 | //k70.p08 = 0; |
||
6857 | siemargl | 27 | k70.p12 = 0; |
1665 | Nasarus | 28 | k70.p16 = 0; |
29 | k70.p20 = 0; |
||
30 | |||
31 | |||
32 | k70.p21 = dir; |
||
33 | else |
||
34 | { |
||
35 | strcpy(temp, cur_dir); |
||
36 | if (temp[strlen(temp)-1] != '/') |
||
6826 | siemargl | 37 | strcat(temp, "/"); // add slash |
38 | strcat(temp, dir); |
||
1665 | Nasarus | 39 | k70.p21 = temp; |
40 | } |
||
41 | |||
42 | |||
43 | |||
44 | |||
45 | return TRUE; |
||
46 | else |
||
47 | return FALSE; |
||
48 | |||
49 | |||
50 |