title: How to run java application in Windows command prompt background?
body: <p>We have a java application and written a shell script to launch this application in Linux.
  Same way we written a batch file in Windows.We want to execute multiple instance of this application so we are using &amp; in Linux shell script to execute the java process in background. Then your can use the same terminal to launch one more application and so on. We want to achieve the same in Windows. We also need to pass parameters to this launcher script.</p>
  
  <p>Below is the launcher script for Linux , we need the equivalent Windows batch/cmd script.
  The requirement is , user should be able to launch multiple times from the same terminal as like below.
  Note: It will be good, if have simple solution in batch/cmd file not interested in power shell.</p>
  
  <pre><code>&gt; app-launcher.sh 100 test
  &gt; app-launcher.sh 200 test
  &gt; app-launcher.sh 200 test1
  
  #!/bin/sh
  
  java  -classpath "thirdparty1.jar":"thirdparty1.jar" com.myapp.Main &amp; 
  sleep 2 &amp;&amp; 
  exit 0
  </code></pre>