ibanix has asked for the wisdom of the Perl Monks concerning the following question:
And then I can process $result_shr. The problem here is that if the script can't connect to the server\share pair, the net use command blocks until an error code is returned. This takes anywhere from seconds to minutes on my systems.my $connect_shr = 'net use \\\\'.$server.'\\'.$share; my $result_shr = `$connect_shr`;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: [Win32] Verifying network connection
by BrowserUk (Patriarch) on Dec 09, 2002 at 22:06 UTC | |
|
Re: [Win32] Verifying network connection
by particle (Vicar) on Dec 09, 2002 at 23:11 UTC |