On Sun, 05 Jul 1998 15:26:13 +0300 Atanas Kebedjiev wrote: >Chris, > >The problem with some "smart" BIOS chips is that they will reset the >date to their own year of manufacturing. The DOSCHK page even reports >such that will persist in resetting the date to 1999-12-31. > >* The CHK1980.BAT and its companion ENTER.TXT ("applied laziness" in >action to save the user hitting the Enter key) exploits Charles >Petzold's idea quoted in your earlier correspondence and might do just >fine if called upon the AUTOEXEC.BAT first line for "traditional 1980 >bug" BIOS. > >The SetDate program operational logic is much like the Slug2000 1.1 >quoted , with two extra checks. (The SetDate.pas source file may be >reviewed as well) > >*SETDATE.EXE and the DATE.LOG file should reside in the root directory. >First line of the AUTOEXEC.BAT should be "setdate" > >* If the DATE.LOG file, storing the date in ISO 8061 format, is missing, > get user date >*Any boot date prior to the date recorded in DATE.LOG will >get user date. A UNIX style "Run time backwards?" confirmation is >demanded. >* Any boot date that is in a later year than the date recorded in >DATE.LOG will issue a warning congratulation and get user date. >* If logged and system dates are both equal to 1999-12-31 at boot time >( the case reported by DOSCHK ) again get user date. This will cause an >inconvenience on the actual date, but who is going to work on THAT DAY >but Y2K fixers? >* In all the above cases except logged and system dates being equal to >each other and different from 1999-12-31, a new DATE.LOG file is created > >* If date has advanced but year is the same, do nothing > >Finally, I want to sincerely congratulate you for all the outstanding >Year 2000 work (there is no time for "activities" and "initiatives" any >more) that you are doing. Have you already been contacted to write the >humorous history of the Year 2000 crisis? > >Regards from Bulgaria > >Atanas Kebedjiev >INTRANSCO, Inc. > Thanks Atanas. I have checked out SETDATE. I like it. Great Minds think alike. It is now available on the Cinderella FTP site under "Contributions".