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