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;
Hope this helps!
Michele.
In Section
Seekers of Perl Wisdom