1.

Solve : goto?

Answer»

Hello,

I would LIKE to create a program that checks for the date and if it is LATER than june the 21 of 2006 goto end.

Thank You

Almn

for ... in (date /T) do
(
set DAY=
set month=
if day > 21 and month > 6 goto end
)

Code: [Select]@echo off
IF %date:~4% GTR 05/21/2006 goto :end
echo not there yet
pause
:end



Discussion

No Comment Found