in reply to Access a particular drive on windows server
I suggest reading over the manual page for the Pushd library. There are some usage gotcha's in there. http://search.cpan.org/~dagolden/File-pushd-1.006/lib/File/pushd.pm I hope this helps.use strict; use warnings; use File::pushd; my $TEMP_DIR_OF_UNC = pushd( '\\AX-RISCVMCRYS02\C$\CALC' ); print "Temporary mapping of UNC path is : $TEMP_DIR_OF_UNC\n"; system('DIR '.$TEMP_DIR_OF_UNC);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Access a particular drive on windows server
by nayabrahil (Novice) on May 08, 2014 at 07:33 UTC |