in reply to How do you Map & Disconnect Network Drives (in Windows)?
Do you need to map the shares to drive letters at all? You can access files on the shares directly by using their UNC names:
my $server = "\\\\$machine\\C\$"; my $fullname = "$server\\some\\file"; open my $fh, "<", $fullname or die "Couldn't open '$fullname': $!";
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: How do you Map & Disconnect Network Drives (in Windows)?
by perlofwisdom (Pilgrim) on Mar 26, 2008 at 13:48 UTC | |
by Corion (Patriarch) on Mar 26, 2008 at 13:55 UTC |