title: Wait for multiple applications run asynchronously from batch file to finish
body: <p>There is a simple Windows batch file that runs multiple instances of application:</p>
  
  <pre><code>start app.exe param1
  start app.exe param2
  </code></pre>
  
  <p>Is there a way to run them asynchronously at the same time (which above does) and wait for them both to finish to perform other actions - something like C# </p>
  
  <pre><code>Task.WhenAll(tasksList.ToArray());
  /* Process tasksList.Result */
  </code></pre>
  
  <p>? <br/>/wait switch will not help here, some polling for if particular instance is still running maybe.</p>