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