MSAV--Examples
To start MSAV using a black and white color scheme, and to specify that MSAV
check all drives except drives A and B, type the following command:
msav /bw /a
Exit code
To write a simple batch program named VIRUS that supports the MSAV exit code
and the /S switch to scan the current drive, you can type the following
commands by using MS-DOS Editor:
echo off
rem Smith's msav command
msav /s /n
if errorlevel 86 goto virus
if not errorlevel 86 goto none
:virus
echo MSAV has detected a virus on your current drive!
goto exit
:none
echo MSAV found no viruses on your current drive.
goto exit
:exit
|