home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BUG 11
/
BUGCD1998_02.ISO
/
util
/
_virscan
/
w95
/
data.z
/
Edat.5
< prev
next >
Wrap
Text File
|
1997-12-17
|
439b
|
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
SCANPM 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