windows batch wait 10 seconds code example Example: how to halt batch script execution for 5 seconds @echo off echo %time% timeout 5 > NUL echo %time%