Rev 1668 | Rev 3247 | 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 | if (cur_dir[strlen(cur_dir)-1] != '/') |
||
2323 | Albom | 40 | strcat(temp, "/"); |
41 | strcat(temp, dir); |
||
1665 | Nasarus | 42 | |
43 | |||
44 | { |
||
45 | |||
2323 | Albom | 46 | |
1665 | Nasarus | 47 | return TRUE; |
48 | } |
||
49 | |||
50 | |||
51 | } |
||
52 | |||
53 | |||
54 |