This is another of those things that using the system utilities is just so much simpler:
system q[ net start "service name" ]; system q[ net stop "service name" ];
In reply to Re: Want to Start / Stop windows service through executing Perl Script
by BrowserUk
in thread Want to Start / Stop windows service through executing Perl Script
by meet_arc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |