First way is to use the ping command like this:
ping 127.0.0.1 -n X > nul
where X is the number of seconds to wait.
Another is to use the timeout command:
timeout X > nul
Tags
command line
First way is to use the ping command like this:
ping 127.0.0.1 -n X > nul