msav.ex1
来自「linux下查找文件的方法,对于初学者来说很有用,仅供参考」· EX1 代码 · 共 40 行
EX1
40 行
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 + =
减小字号Ctrl + -
显示快捷键?