Tag: Batch

Batch file to start or stop a service depending on its current state

This batch file will start or stop a service depending on its current state. Just replace yourservice on line 5 and 16 with the name of the service you want  to stop or start. @ECHO OFF REM Checking Service state REM replace yourservice below with the name of the service net start yourservice 2>nul if […]

2011/09/03 | By | Reply More