@echo off
:check_date
for /F "tokens=2 delism==," %%i in ('wmic os get localdatetime /VALUE') do set datetime=%%i
set date=%datetime:~4,4%
if "%date%"=="1116" (
goto run_script
) else (
echo ERROR
goto check_date
)
:run_script
echo hello! :)
pause >nul
Вместо 1116 поставь месяц и число