this is a very basic command prompt question (sorry if i posted it in the wrong place)

is there a command for cmd to sleep/wait for say 5 seconds?

like say i have a .cmd file that says "start www.google.com" but i want it to wait 5 seconds before opening it? is that possible?

also is there any command that instead of opening the site in a new window, it just refreshes the existing window? this is actually less necessary because i can just do start followed by taskkill.

so i'm guessing there's no such sleep command?

alright, i'll do without it... by integrating python.

.cmd:

start www.google.com
sleep.py
taskkill/im iexplore.exe

sleep.py:

import time
time.sleep (5)
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.