Date command returns "Tue 07/09/03"

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
 
R

Ray at

Why can't you run the software after 12/31/02? Is it a trial? If so, buy
it. Problem solved.

Ray at home
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top