CODE: [Copy to clipboard]@echo off if %time% lss 6:00:00.00 goto time goto end :time if %time% gtr 2:00:00.00 goto :EOF :end echo OK pause