Link to home
Start Free TrialLog in
Avatar of potpourrigroup
potpourrigroup

asked on

Wait for current process to finish before moving to next

How can I...

set shell=WScript.Createobject("WScript.Shell")
Shell.Run "C:\someprogram.exe"
set shell = nothing

***When the above program closes/finishes move to the next step***

set shell=WScript.Createobject("WScript.Shell")
Shell.Run "C:\someotherprogram.exe"
set shell = nothing

This is not the actual code but you should get my point. Thanks in advance!!!
ASKER CERTIFIED SOLUTION
Avatar of vinnyd79
vinnyd79

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial