home *** CD-ROM | disk | FTP | other *** search
- ╔════════════════════════════════════════════════════════════════════════════╗
- ║ ║
- ║ Documentation For VC - Version 1.02 ║
- ║ A Shareware Program Written By Craig Veal ║
- ║ ║
- ╟────────────────────────────────────────────────────────────────────────────╢
- ║ ║
- ║ I initially developed this program for my own personal use and the ║
- ║ rights to it are my sole property. This program is not and has never ║
- ║ been a public domain program. ║
- ║ ║
- ║ LIMITED permission is granted for your personal, NON-COMMERCIAL use ║
- ║ ONLY. ║
- ║ ║
- ║ This program may not be used in any commercial environment without my ║
- ║ WRITTEN PERMISSION. If you want to use it in a commercial environment, ║
- ║ simply send me a self addressed stamped envelope and I'll authorize ║
- ║ you to use this program as long as NO ONE, other than myself, MAKES ║
- ║ any profit from the sale of this program. ║
- ║ ║
- ║ SHARE this program with others! Craig D. Veal ║
- ║ 4734B Jacksonville Lane ║
- ║ Andrews AFB MD 20335 ║
- ║ Phone 301-599-1071 ║
- ║ ║
- ╚════════════════════════════════════════════════════════════════════════════╝
-
-
- The recent spread of "virus" programs makes some sort software protection
- necessary. Here is the program I wrote to help protect my operating system
- from being contaminated.
-
- VC (Virus Check) will read the first two files on the drive you specify and
- assume those are part of the boot record (that way the program doesn't have to
- look for specific filenames). It also searches the "environment" for your
- command processor (usually COMMAND.COM, but not always) and then read the file
- specified in the environment.
-
- After reading each file it does a checksum for each file and compares it
- against what was found during the installation. If the two match everything
- is probably fine. VC will end after verifying all three files associated with
- the operating system and set an errorlevel of 0.
-
- If the checksum for a file does not match the installed value, something is
- DEFINITELY wrong! A WARNING message and the name of the first file where the
- checksum did not match will be shown. The program will stop until you press a
- key to acknowledge the warning, then it ends and sets an errorlevel of 255.
-
-
-
- Here is how to use this program in your AUTOEXEC.BAT file:
-
- *** SAMPLE AUTOEXEC.BAT ***
-
- ECHO OFF
- CLS
- VC
- IF ERRORLEVEL 255 GOTO ABORT
- .
- .THE REST OF YOUR AUTOEXEC.BAT
- .WOULD GO HERE
- .
- :ABORT
- CLS
-
- Using the sample AUTOEXEC.BAT, VC would skip everything after VC if it finds a
- checksum mismatch. Otherwise it will execute the rest of your AUTOEXEC.BAT.
-
- VC must first be installed before it can be used. Run the program IVC.COM to
- install VC. The syntax is:
-
- IVC [drive]
-
- [drive] is the boot drive you want checked each time it's used. If you don't
- specify a drive, IVC will ask you for one.
-
-