in reply to Re: Change Working Directory in Windows!
in thread Change Working Directory in Windows!
I would not call the \docs an absolute path under Windows. Only the F:\docs and the UNC is absolute. All the rest is relative to something. F: to the current directory on the F: drive, docs to the current directory on the current drive, F:docs to the current directory on the F: drive and the \docs to the current drive.
In either the case it seems to me like the OP wanted to change the current directory of the process that started the script. Something like:
That's AFAIK not possible. Though at times would be nice.c:\some\silly\directory> perl find_something.pl params blah blah blah, I found it. c:\other\dir>
Jenda
Enoch was right!
Enjoy the last years of Rome.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Change Working Directory in Windows!
by ikegami (Patriarch) on Jan 22, 2010 at 17:48 UTC |