title: Batch script to close all open Command Prompt windows
body: <p>I have a <code>.cmd</code> file which I call to open multiple instances of <code>Command Prompt</code> via:</p>
  
  <pre><code>launcher.cmd -fs
  launcher.cmd -tds
  launcher.cmd -fsd
  </code></pre>
  
  <p>Each command open a new command prompt. </p>
  
  <p>So what I want to do is create a batch file to automatically close all the opened <code>Command Prompt</code> instead of manually doing it.</p>