×
Menu
Index

3.6.2.10. Execute a Program and Wait Until it Finishes

 
 
This example shows how to call a program and how to wait until it finishes. It can be used, for example, in a VBScript, after export to import results into another system.
 
 
 
Set WSHShell = CreateObject("WScript.Shell")
result = WSHShell.Run("yourProgram.exe yourParams",,True)
 
 
MsgBox "Finish"