title: Close command prompt window after batch file execution
body: <p>How to automatically close command prompt window after batch file execution.</p>
  
  <p>I tried command <code>Start "" &amp; Exit 0</code> but it's not working.</p>
  
  <pre><code>Start ""
  @ECHO OFF
  C:
  cd c:\wamp\www\phpfile
  php genCSV.php
  "c:\program files\coreftp\coreftp.exe" -s-O -site UPLH -u D:\Files\out\*.*   -p /Import/
  del /Q c:\wamp\www\txt\*.*
  </code></pre>
  
  <hr>
  
  <h2>Solution</h2>
  
  <p>I used "exit /B" at the of script as per Joey's below answer. </p>