home *** CD-ROM | disk | FTP | other *** search
- DATECHEK v1.1B
- c. 1989 William B. Schroder MD
- All rights reserved
-
-
- DATECHEK IS EXPLICITLY NOT RELEASED INTO THE PUBLIC DOMAIN.
- YOU ARE FREE TO USE AND COPY THIS PROGRAM AND DISTRIBUTE IT TO
- ANY BBS OR SHAREWARE DISTRIBUTION SYSTEM PROVIDED NO FEE IS
- CHARGED OTHER THAN THE ROUTINE DISKETTE/MAILING CHARGES COMMON
- TO SUCH SERVICES. I RETAIN ALL RIGHTS AS ALLOWED BY LAW.
-
- I DO EXPECT COMPENSATION, HOWEVER. THAT COMPENSATION IS VIA
- FEEDBACK FROM YOU. LET ME KNOW IF YOU FIND THIS PROGRAM
- USEFUL AND IF YOU HAVE ANY RECOMMENDATIONS FOR IMPROVEMENTS.
- FUTURE VERSIONS OF THIS PROGRAM MAY NOT BE FREE, BUT IF YOU
- "REGISTER" WITH ME BY PROVIDING FEEDBACK, THE UPGRADES WILL BE
- FREE TO YOU. (Great offer, huh?) Contact me via CompuServe
- UserID # 72137,1162 or on the Invention Factory BBS as Bill
- Schroder.
-
- Purpose: Datechek was born, as are many utilities, from data loss.
- My office uses many an old XT computer without battery-backed memory,
- and as such each morning each secretary must enter the correct date
- and time so the files will have the correct date stamp. Most backup
- software looks at the date stamp to know which files need to be
- backed-up. However, if one day the secretary sets the proper date,
- and the next day doesn't, then the backup software will miss or
- overwrite the wrong files.
-
- I wrote this utility out of a need to FORCE the secretary to
- enter the correct date and time. Since the default date on most XT's
- is 01-01-80, and the time at boot is 00:00, I used certain
- assumptions: First, the year must be 1989 or later, and if the
- secretary takes the time to enter any date at all, I hope it would be
- the correct one. Second, most computers are not booted-up between
- midnight and one AM. The computer checks the hour, and if it is "00",
- the time is rejected. Therefore, the program will reject any date
- before 1989 and any hour between midnight and one AM.
-
-
- To Use DATECHEK effectively, you need to have DATECHEK.EXE in
- your root directory and place a call to DATECHEK in your autoexec.bat
- file instead of the regular DATE and TIME commands. DATECHEK will
- perform both of those functions. This will force the user to
- encounter DATECHEK at boot up. (Of course, entering Control-C during
- boot-up will abort autoexec.bat and defeat the program, so don't tell
- your secretaries about it)
-
- Enjoy this program, and remember, the only payment I expect is
- feedback, good or bad, via Compuserve!
-
- PROGRAM HISTORY:
-
- Version 1.0 was pretty much a beta release I used around the office
- while I figured out what the early bugs were. The program worked fine but
- the error handling was not very powerful. Mostly, entering letters
- instead of numbers would create error messages.
-
- Version 1.1 fixed (I think) the error handling problems, mostly by
- looping back to the start if invalid characters were entered, rather than
- letting DOS handle the problem. The only remaining bug was that if the
- default system time was used to enter the time string, It used the SECONDS
- reading and put it into the MINUTES place. The problem was that I forgot
- that the DOS TIME string has EIGHT characters instead of the FIVE that most
- users enter.
-
- Version 1.1b fixes the bug where the seconds string was placed
- into the minute position.
-
- Version 2.0 responds to some of the suggestions made by
- users of Datechek 1.1b. The first was that the cursor was
- destructive, even if used with the cursor keys. Now, the cursor keys
- are not destructive. The only problem I have is that I need to learn
- how to toggle the insert off to overstrike so that the editing of the
- date and time is easier.
- Another suggestion was that I have the program remember the
- date of the last time the computer was booted-up. That's easy enough
- but the purpose of the program is to make a lazy secretary type in the
- accurate date and time. If I provide a default value that is the same
- as the last time the computer was used, then it's too easy to just hit
- <return> and have all the files with the same date/time stamps again.
- Instead, version 3 will, I hope, ADD one day to the last time the
- computer was used, so that even if a lazy one strikes <return> at
- least all the files will have a different date stamp! In addition,
- I'll have the +/- or cursor keys run through the dates/times like
- setting a clock (ambitious, huh?) For now, I keep the program booting
- to the system defaults.
- Also, most users thought forcing a multiplication to continue
- using the default values was cute but not really necessary, so I
- removed it.
- Finally, some error-handling has been improved. The time cost
- of providing this upgrade has been approximately 4 hours.
-
-
-