Jump to content

Anyone have Pause utility


Recommended Posts

Does anybody have a pause utility that can be minimized or run in the background unseen upon execution

pause.exe 30

I have tried

cmd /c ping 127.0.0.1 -n 40>nul

but have no way of minimizing the window (start cmd wont work for me)

Link to comment
Share on other sites


WSH 5 and later:

Sub Pausa(Segundos)
  WScript.Sleep (Segundos * 1000)
End Sub

Earlier versions (later and anytime too):

Sub Pausa(Segundos)
  Hasta = DateAdd("s", Segundos, Now)
  Do While Hasta > Now
  Loop
End Sub

I 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

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...