title: Single instance batch file?
body: <pre><code>:: dostuff.bat
  @echo off
  :: insert long-running process call here
  : End
  </code></pre>
  
  <p>What can I add to this batch file to make it terminate if it's already running in another process when it's executed?</p>