title: Running a set of commands from a batch file (run VSCode, run NG serve)
body: <p>OK, so I want to run my whole working environment from a batch file...</p>
  
  <p>what I would like to achieve...</p>
  
  <ol>
  <li>Open new powershell, open my API folder and run VS Code editor from that folder (cd c:\xy; code .)</li>
  <li>Run API express server (node .)</li>
  <li>Open new powershell, Change dir to my angular cli app and run the vscode there (cd c:\xy-app; code .)</li>
  <li>Run ng serve </li>
  <li>open chrome on <a href="http://localhost:4200" rel="nofollow noreferrer">http://localhost:4200</a> after ng serve is done</li>
  </ol>
  
  <p>Hope it makes sense...
  I tried this in my run-work.bat</p>
  
  <pre><code>cd C:\xy
  code .
  node .
  cd C:\xy-app
  code .
  ng serve
  </code></pre>
  
  <p>it stops after running the first <code>code .</code> so the <code>node .</code> does not get executed</p>
  
  <p>any ideas?</p>
  
  <p>I want to run all commands listed in succession! Possibly terminating in 5 windows open.... powershell 1 (with node server running) powershell 2 (with angular app running) vscode 1 (with API app), vscode 2 (with Angular app) and a chrome window</p>