Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
When I print Cwd::cwd() from the perl script in the batch, it returns c:\windows????. However,$outdir = "\\machine\share\dir"; chdir($outdir) #==1 system($proc_that_runs_batch);
will print "h:\dir" in the batch perl script. Can anyone clue in me in as to what's going on? The batch, by the way, was generated by pl2bat.bat. thanks, Michael$outdir = "h:\dir"; chdir($outdir) #==1 system($proc_that_runs_batch);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: perl & UNC paths
by bart (Canon) on May 05, 2004 at 21:41 UTC | |
by nimdokk (Vicar) on May 06, 2004 at 15:59 UTC | |
|
Re: perl & UNC paths
by samtregar (Abbot) on May 05, 2004 at 21:13 UTC | |
|
Re: perl & UNC paths
by Corion (Patriarch) on May 05, 2004 at 21:22 UTC | |
by halley (Prior) on May 06, 2004 at 14:50 UTC |