Date command returns "Tue 07/09/03"

  • Thread starter Thread starter uscalumni03
  • Start date Start date
U

uscalumni03

Hey everyone. My problem is simple yet very frustrating! I
have a software on my machine that won't run after
12/31/02. So, every time I boot my machine, I have to
change the date prior to 12/31/02, start the software,
then change it back.

I thought of making a batch file that would record current
date, change the date, run the software, then change the
date back to current. Following is the batch file:

date /t > curdate.txt
date < olddate.txt
file that runs the software
date < curdate.txt

The batch file craps out at the last line. You see when
you output date to a file, date /t > curdate.txt, it
outputs "Tue 07/09/03" but to enter a new date, it has to
be in "mm/dd/yy" format! Why wouldn't microsoft be
consistent is beyond me but in any case, how do I resolve
this? Any help is much appreciated. Thank you
 
Why can't you run the software after 12/31/02? Is it a trial? If so, buy
it. Problem solved.

Ray at home
 
Back
Top