home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
antiviry
/
scanwin
/
DATA.Z
/
Edat.5
< prev
next >
Wrap
Text File
|
1998-09-03
|
445b
|
34 lines
ECHO OFF
CLS
ECHO Y > INPUT
ECHO Y >> INPUT
ECHO Y >> INPUT
ECHO Scanning floppy for infections...
DEL ESCAN.ERR < INPUT
DEL ESCAN.VIR < INPUT
BOOTSCAN A:\*.* /ALL
IF ERRORLEVEL 1 GOTO VIRUS
IF ERRORLEVEL 99 GOTO BADSCAN
REM *** SCAN OK **
GOTO EXIT
REM ** CANNOT SCAN **
:BADSCAN
ECHO SCANERROR > ESCAN.ERR
GOTO EXIT
REM ** VIRUS WAS FOUND **
:VIRUS
ECHO INFECTED > ESCAN.VIR
GOTO EXIT
:EXIT
CLS