Dear Team

I am trying to check a service on a remote machine using Win32::Service. But
it is telling  "No such file or directorySuccess".

The script is given below Please look in to it.. 

Service.pl
use Win32::Service;

if (Win32::Service::GetStatus("hotnt006", "Server", \%status) ==0)
{ print "Failed :$!";
}
print "Success";

foreach $key( %status)
{
print "$key is $status{$key} \n";

}


Thanx And Regards
Raju

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to