Check out Win32::Service or Win32::Lanman. Lanman is a whole lot to chew, but it can do just about anything involving remote administration of NT/2000/XP machines.
-----Original Message----- From: Yuen, Alex [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 10, 2002 1:33 PM To: 'Perl Beginners' Subject: Window Services - stop/start (Newbie)... Hi, Does anyone know if Perl can stop or start a Service in Windows NT or 2000? Trying to write a script to stop the Service of an application, archive the log files and then restart the Service. Plus, record this transaction to a seperate log file. Another plus, send out an e-mail notification if an error were to occur in any step of the Perl script. Haven't decided to attach the log to the e-mail or not. But would be using Mime::Lite for this. Thanks. Alex -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]