laziness, impatience, and hubris | |
PerlMonks |
Re: Traversing SubDir and Execute Unix Commandby crusher (Acolyte) |
on Nov 08, 2008 at 19:16 UTC ( [id://722426]=note: print w/replies, xml ) | Need Help?? |
to change the current directory do as the following example: use Cwd; chdir("C:\\Perl") || die "Error changing the directory ($!)"; my $cwd =getdcwd();Now cwd holds the full path to the working directory. Hope this helps...
In Section
Seekers of Perl Wisdom
|
|