I had to change the line where you start the script to get it to work under XP by clicking the bat file:
start /min cmd /c "perl -x -S "%0" %*"
YMMV
TGI says moo
In reply to Re: NtServMon.bat -- monitor, start, and stop remote Win32 services
by TGI
in thread NtServMon.bat -- monitor, start, and stop remote Win32 services
by tye
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |