rem lss
rem if %time% GTR 18:55 (goto 1)
rem if %time% GTR 6:55 (goto 2) else goto end
set t=%time: =0%
set tt=%t::=%
if "%tt:~0,4%" GTR "1855" (goto 1)
if "%tt:~0,4%" GTR "0655" (goto 2) else goto 1
:1
for /f "delims=" %%i in ('at') do (for /f "tokens=3 delims= " %%n in ("%%i") do (if %%n==7:27 goto end))
at 07:27 shutdown -s -t 180 -c "^_^" -f
goto end
:2
for /f "delims=" %%i in ('at') do (for /f "tokens=3 delims= " %%n in ("%%i") do (if %%n==19:27 goto end))
at 19:27 shutdown -s -t 180 -c "^_^" -f
goto end