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': $!";
In reply to Re: How do you Map & Disconnect Network Drives (in Windows)?
by Corion
in thread How do you Map & Disconnect Network Drives (in Windows)?
by perlofwisdom
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |