title: Wait for the second VBScript script until ended from primary VBScript script
body: <p>I have a VBScript script that runs a second VBScript script. The second VBScript script asks some questions from the input box. My problem is that “MyShell.Run” does not wait until SecondVBscript.vbs has ended. And the other VBScript syntax run immodestly also</p>
  
  <p>I need to wait for the MyShell.Run process to end and then perform the other VBScript syntax. How can I do that?</p>
  
  <pre><code>Set MyShell = Wscript.CreateObject("WScript.Shell")
  
  MyShell.Run " C:\Program Files\SecondVBscript.vbs"
  
  Set MyShell = Nothing
  </code></pre>
  
  <p>Other VBScript syntax</p>