in reply to Modifying Win32 registry on remote hosts
$output = `net use \\\\$server\\ipc\$ \"$password\" \/user:$domain\\$l +ogin`; if ($output =~ /success/) { do_something(); } else { die "could not connect to $server!\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(tye)Re: Modifying Win32 registry on remote hosts
by tye (Sage) on Nov 21, 2002 at 01:16 UTC |