title: Batch file that run jar file on cmd
body: <p>Apologies if duplicate, I want to run a jar file from command prompt, So instead of going to the specific path can i create a batch file,
  Simply double click on batch file will do my task,
  I found something at [1]: <a href="https://stackoverflow.com/questions/9738434/run-a-command-prompt-command-from-desktop-shortcut">Run a Command Prompt command from Desktop Shortcut</a> but it do not work in my case, I want to run <code>java -jar squirrel-sql.jar</code></p>
  
  <p>I would like to make a batch file that:</p>
  
  <p>1)Opens cmd.exe</p>
  
  <p>2)Within that Command Prompt runs <code>java -jar squirrel-sql.jar</code> which is present on desktop</p>
  
  <p>3)Leaves the window open so that I can run additional commands if I wish to
  How can I do this?</p>