title: Run multiple cmd files
body: <p>What I want to do is start a .bat file that start other .cmd files. I have accomplished this with this command</p>
  
  <pre><code>start /D "path_to_folder" file1.cmd
  start /D "path_to_folder" file2.cmd
  start /D "path_to_folder" file3.cmd
  </code></pre>
  
  <p>The problem Im having is that I want the first bat that starts the other files, to close when all of the other cmd's have finished.</p>
  
  <p>If I add the /WAIT command to every line, they will start one after another and not in parallel.</p>
  
  <p>I've tried putting the /WAIT command on the last line, but sometimes that command finishes earlier than the others and the main bat file closes. </p>