For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > August 2005 > stopping/starting windows services in perl









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author stopping/starting windows services in perl
imfaus

2005-08-08, 3:11 pm

I need to write a program that stops/starts windows services...in linux/unix using perl this is very simple; but in windows when you do a net stop <service name> it sends a response to the service control manager which in turn sends a response to the actual service...I know (in my program) i need to add use win32 but I need to be able to send a response to the service control manager....I don't know exactly how to do this...can anyone point me in the direction of a perl script that stops/starts a windows service? thx
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com