Use batch file to change date

May 20, 2009 at 19:53:30
Specs: Windows Vista
I have a program that will only open if the system date is March 1, and will only be effective if the system date is current after program is opened.

Currently I change the date to march 1, open the program, then change it back to the current date once the program is open. I have to do this every time I turn on my computer.

I would like to do this in a batch file instead,
Help please?


See More: Use batch file to change date

Report •

May 21, 2009 at 01:41:32
set saved=%DATE%
set date=01-03-09
start myprog
set date=%saved%

If at first you don't succeed, you're about average.


Report •
Related Solutions

Ask Question