in reply to mapping a network drive
You should grab the command output using backticks instead of system():
my $output = `net.exe use * \\\\server_1212\\d$`; $output =~ /Drive (\w)/; my $letter = $1; [download]
Hope this helps!
Michele.