ECHO OFF
CLS
IF "%1"=="" GOTO HELP
IF NOT EXIST VCHECK ECHO   You should be in the VC5 Home Directory to run %0
IF NOT EXIST VCHECK ECHO   This enables you to keep everything in one place.
IF NOT EXIST VCHECK ECHO   You may wish to edit %0.BAT to further customize it.
IF NOT EXIST VCHECK GOTO END
IF EXIST VBAIT.OLD GOTO DOCOMPARE
ECHO ÿ
ECHO    ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
ECHO    ³  We must make a reference file of your bait programs.        ³
ECHO    ³  Next time, we will make a fresh list to compare it with.    ³
ECHO    ³  Any changes to your bait data will cause immediate alarm.   ³
ECHO    ³  We now will make a reference list called VBAIT.OLD when     ³
ECHO    ³  you . . .                                                   ³
ECHO    ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
ECHO                                 [Strike any key to continue.]
PAUSE > NUL
VCHECK /VBAIT.OLD %1 %2 %3 %4 %5 %6 %7 %8 %9
ECHO ÿ
ECHO            . . . Done!
ECHO   The reference list has been made.
ECHO   Unless you delete this list, VBAIT will from now on
ECHO   be able to detect changes to the data files
ECHO   which you have selected: %1 %2 %3 %4 %5 %6 %7 %8 %9
ECHO
GOTO ENDMSG
:DOCOMPARE 
ECHO ÿ
ECHO ÿ
ECHO We must make a list for comparison.   [Strike any key to continue.]
PAUSE > NUL
VCHECK /VBAIT.NEW %1 %2 %3 %4 %5 %6 %7 %8 %9
ECHO ÿ
ECHO  New comparison list made. Comparing old and new statistics with VCOMP.
ECHO ÿ
VCOMP VBAIT.OLD VBAIT.NEW
if errorlevel 9 ECHO          !!! WARNING: VCOMP is virus-infected !!!
if errorlevel 9 ECHO            RUN VC1 and VC2 (VC.BAT) IMMEDIATELY
if errorlevel 9 goto end
if errorlevel 7 goto changes
if errorlevel 6 goto changes
if errorlevel 1 echo    Trouble with VCOMP. Please check the program.
if errorlevel 1 goto end
ECHO         ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
ECHO         ³  Victor Charlie has looked and found        ³
ECHO         ³  your bait files to be unchanged since      ³ 
ECHO         ³  your last comparison.  Rest easy.          ³
ECHO         ³  You can be sure no virus bomb is at work.  ³
ECHO         ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
ECHO ÿ
GOTO ENDMSG
:HELP
ECHO ÿ
ECHO          ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
ECHO          ³  VBAIT will help you detect changes to your data.    ³
ECHO          ³  If you have not yet selected files to use for bait, ³
ECHO          ³  please refer to the Victor Charlie manual on        ³
ECHO          ³  "Protecting Your Data" for guidance.                ³
ECHO          ³  You then must tell this program how you have        ³
ECHO          ³  named your bomb-bait files. For example:            ³
ECHO          ³          VBAIT MYBAIT?.* [Enter]                     ³
ECHO          ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
ECHO ÿ
GOTO END
:ENDMSG 
ECHO  ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
ECHO  ³  Remember: if you change, add or delete any of your      ³
ECHO  ³  bait files, you should delete VBAIT.OLD from this       ³
ECHO  ³  directory. You then can make a fresh list with VBAIT.   ³
ECHO  ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
ECHO ÿ
GOTO END
:CHANGES
ECHO ÿ  
ECHO   ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
ECHO   º                !!! WARNING !!!                      º
ECHO   º  Victor Charlie has detected changes in your bait.  º
ECHO   º      If you yourself have  made no changes          º
ECHO   º      to the file(s) listed above, you  MAY          º
ECHO   º      be the victim of a virus bomb attack!          º
ECHO   º  Please look at the Victor Charlie manual section   º
ECHO   º  on monitoring data  files for suggestions on how   º
ECHO ÿ º  to proceed.  Remember,  VBAIT can determine if a   º
ECHO   º  file has been changed, but not the cause of such   º
ECHO   º  change. Ensure  you have  not changed  the above   º
ECHO   º  files yourself before you start  a virus search.   º
ECHO   º Do run Victor Charlie detection immediately. Type:  º
ECHO   º                RUNVC [Enter]                        º
ECHO   ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ¼
:END