Hi, I am trying to write a script that runs 1 programs and upon completion runs another program. Here is what I have so far. I would prefer to not use wscript.sleep if at all possible.
**********************************************************
Dim oShell, oEnv
set oShell= CreateObject("Wscript.Shell")
set oEnv = oShell.Environment("PROCESS")
oEnv("SEE_MASK_NOZONECHECKS") = 1
oShell.Run "C:\Oracle10Client\10g_client\setup.exe -responsefile c:\Oracle10client\10g_client\response\10CLIENT.RSP -noconsole -silent", 0,True
oShell.Run "C:\Oracle10Client\10g_client\Patch\Disk1\setup.exe -responsefile C:\Oracle10Client\10g_client\response\10GPATCH.RSP -noconsole -silent",0,True
oEnv.Remove("SEE_MASK_NOZONECHECKS")
**********************************************************
Thanks!!
**********************************************************
Dim oShell, oEnv
set oShell= CreateObject("Wscript.Shell")
set oEnv = oShell.Environment("PROCESS")
oEnv("SEE_MASK_NOZONECHECKS") = 1
oShell.Run "C:\Oracle10Client\10g_client\setup.exe -responsefile c:\Oracle10client\10g_client\response\10CLIENT.RSP -noconsole -silent", 0,True
oShell.Run "C:\Oracle10Client\10g_client\Patch\Disk1\setup.exe -responsefile C:\Oracle10Client\10g_client\response\10GPATCH.RSP -noconsole -silent",0,True
oEnv.Remove("SEE_MASK_NOZONECHECKS")
**********************************************************
Thanks!!