I am wondering if there is any command for windows script that makes the execution of the script halt for some time before continuing executing it?
e.g: run the first two commands in a script, wait 10 seconds then continue executing
Thanks
I guess you are looking for timeout command.
@echo off
command1
REM wait for 10 seconds before executing command2
timeout /t 10
command2
Hope this helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With