title: How can I suppress the "terminate batch job" in cmd.exe
body: <p>I'm looking for a mechanism for suppressing the &quot;Terminate batch job? (Y/N)&quot; invitation that I get whenever I press CTRL-C in a program started from a batch file:</p>
  <p>batch file: jsshell.bat:</p>
  <pre><code>@echo off
  java -jar build-scripts\contrib\rhino1.7R1.jar
  </code></pre>
  <p>and then starting it on cmd shell by:</p>
  <pre><code>&gt; jsshell.bat
  </code></pre>
  <p>which gives me a shell that can be exited by CTRL-C but after invoking CTRL-C I get a &quot;Terminate batch job (Y/N)?&quot; message which is nasty and annoying. How can I get it to just exit without me having to press 'y'?</p>