Rev 1665 | Rev 2323 | 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 | unsigned result; |
||
6 | |||
7 | |||
8 | { |
||
9 | #if LANG_ENG |
||
1668 | Nasarus | 10 | printf(" cd |
11 | #elif LANG_RUS |
||
12 | printf(" cd <директория>\n\r"); |
||
13 | #endif |
||
14 | return FALSE; |
||
1665 | Nasarus | 15 | } |
16 | |||
17 | |||
18 | return FALSE; |
||
19 | |||
20 | |||
21 | { |
||
22 | cur_dir[strlen(cur_dir)-1]='\0'; |
||
23 | dir_truncate(cur_dir); |
||
24 | return FALSE; |
||
25 | } |
||
26 | |||
27 | |||
28 | { |
||
29 | if ( dir_check(dir) ) |
||
30 | { |
||
31 | strcpy(cur_dir, dir); |
||
32 | return TRUE; |
||
33 | } |
||
34 | return FALSE; |
||
35 | } |
||
36 | else |
||
37 | { |
||
38 | strcpy(temp, cur_dir); |
||
39 | strcat(temp, dir); |
||
40 | |||
41 | |||
42 | { |
||
43 | strcpy(cur_dir, temp); |
||
44 | return TRUE; |
||
45 | } |
||
46 | |||
47 | |||
48 | } |
||
49 | |||
50 | |||
51 |