rem this is a DOS batch file net start SERVICENAME perl -e 'sleep 10' net stop SERVICENAME