rdalling Posted August 18, 2005 Share Posted August 18, 2005 Does anybody have a pause utility that can be minimized or run in the background unseen upon executionpause.exe 30I have tried cmd /c ping 127.0.0.1 -n 40>nulbut have no way of minimizing the window (start cmd wont work for me) Link to comment Share on other sites More sharing options...
benners Posted August 18, 2005 Share Posted August 18, 2005 Try this, usage where number of seconds to pause is 30pause.exe 30pause.rar Link to comment Share on other sites More sharing options...
Raja Posted August 18, 2005 Share Posted August 18, 2005 Use a vbscript to run the ping command. Copy and Paste the code below in a .vbs file.Set objShell = CreateObject("Wscript.Shell")objShell.Run "cmd /c ping 127.0.0.1 -n 40", 0 Link to comment Share on other sites More sharing options...
Nilfred Posted August 20, 2005 Share Posted August 20, 2005 WSH 5 and later:Sub Pausa(Segundos) WScript.Sleep (Segundos * 1000)End SubEarlier versions (later and anytime too):Sub Pausa(Segundos) Hasta = DateAdd("s", Segundos, Now) Do While Hasta > Now LoopEnd SubI lost my VBS skills, only Copy and Paste skills remains, so don't ask me if the last routine has the midnight bug or not, I think not but I'm not sure anymore. 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