But let your communication be Yea, yea; Nay, nay: for whatsoever is more than these cometh of evil
Monday, June 18th, 2007

Reset temporary system date

To evaluate software that is depends on an expired system date, you may want to use this batch that wraps around calling a program.

rundate.cmd.

1:
2:
3:
4:
5:
6:
8:
@echo off
FOR /F "TOKENS=1* DELIMS= " %%A IN ('DATE/T') DO SET TMPDATE=%DATE%
date 31/12/2006
"program.exe"
pause
date %TMPDATE%
exit 

Related Posts: Number cruncher, Best of two worlds, How to set up a proxy in 1 minute, A low-cost system for a PDF literature archiv I
Categories: Asthma + Allergy
Keywords:
Trackback: http://www.wjst.de/blog/blog/2007/06/18/reset-temporary-system-date/


Comments are closed.