📄 msav.ex1
字号:
MSAV─例子
如果要以黑白方式启动MSAV,并指定MSAV检查除A和B之外的所有驱动器,可键
入以下命令:
? msav /bw /a
下面是一个名为VIRUS的简单批处理程序,它支持MSAV的退出代码,并使用/S
开关扫描当前驱动器,可用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
~w
? 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
~w
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -