title: Have .bat file continue after it runs a command
body: <p>I need to figure out this seemingly <em>very simple</em> issue on windows .bat file. I have been using Linux for past 10 years full-time, so I am in pretty unfamiliar territory when it comes to .bat scripts.</p>
  
  <p>We have some units tests that need to run on from this .bat file, and a build needs to be generated after the tests have run.</p>
  
  <p>The bat file itself is very simple, I was thinking of just chaining the commands:</p>
  
  <pre><code>cls
  echo "Running test suite - CRMSync"
  echo 
  echo 
  REM from command: --static-backup
  phpunit --bootstrap test/bootstrap_test.php --verbose --log-junit              
  echo "Running  phploc for CRMSync"
  phploc --count-tests --verbose &gt; C:\CRMsync\testResults\phploc\index.html
  echo "Executing phing"
  phing
  </code></pre>
  
  <p>Now, simple enough except nothing is executed past phpunit command. How do I deal with this?
  The unit tests run fine, but I am suspecting it could even be in the unit test lib that process is killed. Is there a way to fork the process somehow or get the other commands below to run?</p>
  
  <p>Thanks SO'ers, as always, any help greatly appreciated.</p>