Why shell out if you can do this from within the script, with better chance to handle errors (if any).
use Win32::FileOp qw(Map); Map 'H:' => '\\\\server\\share', {persistent => 1} or die "Failed to map the drive: $^E\n"
In reply to Re^2: Does Perl Support Absolute paths
by Jenda
in thread Does Perl Support Absolute paths
by Ashes.cfg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |