title: How do I kill a specific process running in the background from the command prompt?
body: <p>Assuming this is a Windows 7 machine - and we're talking about batch scripts on the Windows command line. </p>
  
  <p>Imagine I want to start and stop two different processes running in the background, and run things whilst they running in the background. For example:</p>
  
  <pre><code>START /B CMD /C tomcatA.bat
  doSomeStuff
  stopTomcatACmd
  START /B CMD /C tomcatB.bat
  doSomeStuff
  stopTomcatBCmd
  </code></pre>
  
  <p>I'm trying to figure out how to implement the <code>stopTomcatBCmd</code>.  On a Linux machine you could just <code>kill</code> the <code>pid</code>. </p>
  
  <p>My question is: <strong>How do I kill a specific process running in the background in Windows?</strong></p>