in reply to Re^7: Bugs in File::Find on Windows
in thread Bugs in File::Find on Windows
To change the current dir of a drive without changing the current drive:
my $drive = substr(getcwd(), 0, 2); chdir('C:\\'); chdir($drive);
It seems like you were trying to change directory based on the 'C:\\' path, and then change drives (eg. to 'D:\\'). Maybe you meant that as 3 separate (unrelated) commands? In which case, sorry, but it wasn't clear to me what you were trying to do.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^9: Bugs in File::Find on Windows
by ikegami (Patriarch) on Feb 16, 2007 at 15:42 UTC |