Running a batch file on a specified date in windows cmd

flowers

Distinguished
May 4, 2011
1
0
18,510
So, I need a way to run a batch file after a certain day and keep it running.

I tried using the IF command with %DATE% == %DATE2% with DATE2 set to 05-14-2011, the day that I want it to run, but that doesn't work out.

Any ideas on how I can do this?