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