in reply to capturing error messages from backticks or system

What about capturing the output of the command you are calling? And probably you have to redirect STDERR because this captures only STDOUT ... for the redirection you have to write 2>&1 iirc (sorry, no NT box around at the moment). So the code to use is: my $msg = `net use v: \\\\SERVERNAME\\SHARENAME 2>&1`;

-- Hofmator