Sign in to follow this  
Followers 0
random8011

The Trouble Runwait!

2 posts in this topic

runwait("regedit -s ins\reg\oracle.reg")

it seems work ok.

but in my two scripts:

one done,another seems take no effect

is't a bug??

runwait("ins\oracle.exe -silent")

runwait("regedit -s ins\reg\oracle.reg")

$Path = RegREad("HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Environment","Path")

RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Environment","Path","REG_EXPAND_SZ", $Path&";c:\oracle\ora81\bin")

Share this post


Link to post
Share on other sites



This looks similar to something I struggled with too :ph34r:

Control will only pass on after the RunWait has completed .. which means, when the ins\oracle.exe -silent has finished running .. not just started running.

Try a plain Run (instead of RunWait), followed by WinWaitActive if necessary.

HTH :(

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0