Goodday,
i want to combine the DATE command with an IF command.
I'm not sure wether this code has any correct stuff in it, but this is the best i can do:
@echo off
if 'date' == 'mon 01/07/2008' then goto :play else goto :forbidden
:play
start notepad.exe
pause
:forbidden
exit
When i activate this code, it does open notepad but whatever date i put in, it still opens notepad.
I'm probably forgetting some basic stuff, but if some of you could please help me with this.
Further more, i would like the input (the dates) for the IF be taken out of a external .txt file which is favorably on the internet.
Thanks for helping,
Dronefang