title: Batch file to check if a system service is running
body: <p>I would like to know how to check if a service is running using a batch file</p>
  
  <p>e.g.</p>
  
  <p>if xxxx service is running
  go to start stage2.bat
  else go to echo Service not running</p>
  
  <p>Any help would be appreciated</p>
  
  <p>Thanks </p>