random8011 Posted August 6, 2004 Share Posted August 6, 2004 runwait("regedit -s ins\reg\oracle.reg")it seems work ok.but in my two scripts:one done,another seems take no effectis'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") Link to comment Share on other sites More sharing options...
trids Posted August 6, 2004 Share Posted August 6, 2004 This looks similar to something I struggled with too 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now