title: Why does Windows command prompt stall until a key is pressed when executing long batch files?
body: <p>When I am running a long batch file,the command prompt hangs.
  But,when press  enter,it continues without any problem.</p>
  
  <p>Why does this happen? And is there any way to keep this from happening?</p>