Rev 7914 | Rev 7921 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7914 | Rev 7920 | ||
---|---|---|---|
Line 162... | Line 162... | ||
162 | //-v : paste files/folder from clipboard |
162 | //-v : paste files/folder from clipboard |
163 | if (param) && (param[0]=='-') switch (param[1]) |
163 | if (param) && (param[0]=='-') switch (param[1]) |
164 | { |
164 | { |
165 | case 'p': |
165 | case 'p': |
166 | strcpy(#file_path, #param + 3); |
166 | strcpy(#file_path, #param + 3); |
167 | strcpy(#file_name, #param + strrchr(#param, '/')); |
- | |
168 | itdir = dir_exists(#file_path); |
167 | itdir = dir_exists(#file_path); |
- | 168 | strcpy(#file_name, #param + strrchr(#param, '/')); |
|
- | 169 | param[strrchr(#param, '/')-1] = '\0'; |
|
- | 170 | strcpy(#path, #param + 3); |
|
169 | properties_dialog(); |
171 | properties_dialog(); |
170 | return; |
172 | return; |
171 | case 'd': |
173 | case 'd': |
172 | strcpy(#file_path, #param + 3); |
174 | strcpy(#file_path, #param + 3); |
173 | itdir = dir_exists(#file_path); |
175 | itdir = dir_exists(#file_path); |