March 30, 200521 yr Can anyone tell me how to pause runonceex ?I have intellipoint and intellitype in my runonceex and they lanuch another process so only one successfully installs. I know there's sleep.exe on the MSFN's unattended site but that's for batch install.
March 30, 200521 yr I run a series of VBscripts in my runonceex, but you could just as easily run batch files I assume. You could stick that sleep command in the batch file.
March 30, 200521 yr i use a batch file to send ping commands during a minute.@echo offcmdow @ /HIDPING -n 61 127.0.0.1>nulexit you only need CMDOW to hide the batch window
March 30, 200521 yr i use a batch file to send ping commands during a minute.@echo offcmdow @ /HIDPING -n 61 127.0.0.1>nul<{POST_SNAPBACK}>To me that's a minute and 1 second
March 30, 200521 yr or if you want to pause until you tell it to start again (as opposed to a pre-determind amount of time)... just create a batch file (open notepad, save as *.cmd) and put in the following:@echo offpauseThis will bring up a command window that will say 'Press any key to continue' which of course means it will 'pause' until you 'Press any key'!
March 30, 200521 yr Looking into learning AutoIt. It is a nice scripting tool that can allow you to do many things rather easily. It has the ability to launch a program and not quit until another process is finished.
March 30, 200521 yr as was mentioned the sleep command does work, just add an entry in the runonce like thisREG ADD %KEY%\025 /VE /D "Sleep for 30 seconds" /fREG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\sleep.cmd" /fThen in the files sleep.cmdsleep 30That way you can adjust how long. It will not contiune running if you put it in the right spot. (make sure you modify the \025 to put it in the right spot in your runonce.
March 30, 200521 yr as was mentioned the sleep command does work, just add an entry in the runonce like this<{POST_SNAPBACK}>However, its not a native windows command (at least not to XP), so youll have to download the program, which can be found on the Unattended Downloads page.
March 30, 200521 yr You are correct I forgot, also remember after downloading it to put it into the $OEM$\$$\System32 directory so that it will be available from where ever you wish to call it. sorry.
Create an account or sign in to comment