title: Batch (X) Key, Want to End Process
body: <p>Is it possible to close the Batch File, like "press any key"?</p>
  
  <p>Because I have made a Batch file, that renames a file. And when I Launch the .Bat file, The File changes name to the desired name. And when I "press any key" I made it so the File changes name back to the normal name.</p>
  
  <p>However When i press the (X) Button, to close the batch. It does not follow the last line of code. To rename the file Back. Only works when I "press any key".</p>