title: executing batch files parallel and wait till all completes
body: <p>I have a <code>master batch</code> file which calls another list <code>batch</code> files. I want to wait until all the <code>batch</code> files are executed (<em>cannot say which one will execute faster</em>) and comes to <code>master batch</code> file to execute the remaining.</p>
  
  <p>Example:</p>
  
  <pre><code>           a) master.bat            b) build.bat
                call build.bat           start web.bat        
                post.bat                 start db.bat                            
  </code></pre>
  
  <p>here <code>master.bat</code> calls a file <code>build.bat</code> and <code>build.bat</code> files runs the <code>web &amp; db bat</code> files in parallel and once they are executed, it has to return to <code>master.bat</code> and run the <code>post.bat</code>.</p>
  
  <p>can any one please guide me how to do this.</p>