nayabrahil has asked for the wisdom of the Perl Monks concerning the following question:
I want to print all the files present in the folder calc in C drive of the server named ax-risvis447
I am using the following code :
$DIR = '\\ax-risvis447\c$\calc'; print `dir $DIR`;
However, the above code gives the error :
D:\pmacs\Test_Nayab>perl adhoc_file_transfer.pl
The system cannot find the file specified.
\\AX-RISCVMCRYS02\C$\CALC
Please help me monks. How to access particular drive on a windows server through perl.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Access a particular drive on windows server
by Anonymous Monk on Apr 24, 2014 at 12:52 UTC | |
by nayabrahil (Novice) on Apr 24, 2014 at 14:00 UTC | |
by Anonymous Monk on Apr 24, 2014 at 14:50 UTC | |
|
Re: Access a particular drive on windows server
by VincentK (Beadle) on Apr 25, 2014 at 15:13 UTC | |
by nayabrahil (Novice) on May 08, 2014 at 07:33 UTC |