title: Is there a way to start commandline processes in a new commandline window from a powershell script?
body: <p>I am using</p>
  
  <pre><code>Start-Process "&lt;PathToFile&gt;.bat"
  </code></pre>
  
  <p>For .bat files from a lengthy script in Powershell (v3). However, the commandline window pops up for a moment and is immediately closed and the process that normally runs on the commandline, runs in the background with no indication wether it's finished or if any errors occured.</p>
  
  <p>Is there a way to force the command window to stay open until the user exits the window (after the .bat ran)? I suppose even if there is a way that the command window stays open, the PS script will continue to run in the background?</p>