Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Anyone knows if its possible to add a timer do this command? I want to access a certain website in my default browser minutes after typing.

start "" ""

This worked but it doesn't have the timer.

Something like the shutdown command, you know:

shutdown -s -t 60

I tried this but didn't work:

start "" "" -t 600

Can anyone help me?

share|improve this question
Have you seen SlickRun? – SimonGates Jul 8 '14 at 14:56

A commonly used way of halting a batch file is to use the "ping" command and set it to ping an invalid adress and then wait for the amount of time you choose and then continue in the script. You can see an explanation here

So your script would look like this:

ping -n 1 -w 60000 > nul
start "" ""

This will open after 1 minute (60000 miliseconds)

Put everything inside and empty text file, save as superuser.bat (important to select "Any filetype" in the save dialouge) and run whenever you want to wait a minute for to show up.

share|improve this answer

The command you're looking for is timeout

(timeout 60 /NOBREAK
start "" "")
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .