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!!!
set shell=WScript.Createobject
Shell.Run "C:\someprogram.exe"
set shell = nothing
***When the above program closes/finishes move to the next step***
set shell=WScript.Createobject
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/wsmthrun.asp