title: Batch File calls VBScript which calls EXE that won't open
body: <p>I have a VBS file 'migration.vbs' that runs a number of commands and then calls an AutoIt .exe file to begin the uninstall of a product. The entire script runs successfully when you call it by itself from the command line with 'cscript migration.vbs'</p>
  
  <p>This script is going to be pushed out to a number of other machines where techs need to be able to double-click to run it. A lot of the machines don't execute VBS by default on a double click, so I've added a batch file to run it.</p>
  
  <p>The problem is that when the batch file calls the VBS, it starts to run but never calls the exe. It just.. skips that step. I'm guessing there's an issue with nested system calls or something that I don't know about. </p>
  
  <p>Anyways, any solutions? I'd rather not put the EXE call in the batch file due to logic checking the VBS does against registry keys (that'd be hard/impossible to duplicate in BAT).</p>
  
  <p>Thanks again </p>
  
  <p>start.bat</p>
  
  <pre><code>START /WAIT cscript .\data\migration.vbs
  </code></pre>
  
  <p>migration.vbs</p>
  
  <pre><code>WSHSHell.Run "uninstall.exe", 0, True
  </code></pre>