title: Halt batch file until service stop is complete?
body: <p>I'm using a batch file to stop a Windows service.  I'm using the <code>sc</code> command, but I'm open to other ideas, given the question below.  The problem is that the batch file proceeds <em>while</em> the service is stopping (the <code>stop</code> argument to <code>sc</code> seems only to <em>request</em> the stop -- it doesn't <em>wait</em> for the stop).</p>
  
  <p>How can I modify the batch file to <em>not proceed</em> until the stop is <em>complete</em>?</p>