此脚本使用McAfee的SupperDat,进行计算机上病毒的查杀。使用FLASHGET检查SupperDat更新,参考:http://blog.csdn.net/scz123/archive/2006/11/02/1362573.aspx
20061215: 修改scan.exe运行参数,增加 /PROGRAM (扫描恶意软件)、/NORENAME (不更改文件名)。
MCAFEE命令行参考手册:http://scz123.googlepages.com/Mcafee5100wpg.pdf
1、使用本地的MCAFEE SUPERDAT来运行的脚本
2、使用局域网上共享的MCAFEE SUPERDAT来运行的脚本
--------------------------------------------------------------------------------
1、使用本地的MCAFEE SUPERDAT来运行的脚本
--------------------------------------------------------------------------------
@echo off
echo McAfee手动杀毒脚本
echo created by scz 20061101
echo =================================================
echo 建议在管理员环境下运行此脚本,以便能成功杀除病毒
echo =================================================
rem 此脚本运行需要McAfee的SupperDat,下载地址:http://www.mcafee.com/apps/downloads/security_updates/superdat.asp?region=cn&segment=enterprise
rem SupperDat下载后,请重命名为Mcafee*.exe(*为任意字符)
if not exist mcafee*.exe (echo 病毒码不存在,无法执行下步操作,请按任意键退出... &goto error)
echo 正在释放病毒码...
for /f "skip=1" %%i in ('dir mcafee*.exe /o-d /b 2^>nul') do (del %%i)
for /f %%i in ('dir mcafee*.exe /b /o-d') do (%%i /e c:\Mcafee & goto start)
:start
echo 启动扫描...
echo @echo off >c:\mcafee\杀毒.bat
echo echo. c:\mcafee\杀毒.bat
echo echo ============================================ c:\mcafee\杀毒.bat
echo echo McAfee手动杀毒脚本,扫描结束后会自动打开报表 c:\mcafee\杀毒.bat
echo echo created by scz 20061031 c:\mcafee\杀毒.bat
echo echo ============================================ c:\mcafee\杀毒.bat
echo set filename=%%date:-=%%.%%time::=%%.html c:\mcafee\杀毒.bat
echo cd /d c:\mcafee c:\mcafee\杀毒.bat
echo REM 保留最近10个报表 c:\mcafee\杀毒.bat
echo for /f "skip=10" %%%%i in ('dir *.html /o-d /b 2^^^>nul') do (del %%%%i) c:\mcafee\杀毒.bat
echo scan /ADL /ANALYZE /PROGRAM /CLEAN /NORENAME /TIMEOUT 15 /WINMEM /HTML "%%filename%%" c:\mcafee\杀毒.bat
echo echo 病毒扫描完毕,请按任意键打开报表... c:\mcafee\杀毒.bat
echo if exist "%%filename%%" start "" "%%filename%%" c:\mcafee\杀毒.bat
cd /d c:\mcafee
start "McAfee VirusScan" cmd /c 杀毒.bat
goto end
:error
pause >nul
:end
--------------------------------------------------------------------------------
2、使用局域网上共享的MCAFEE SUPERDAT来运行的脚本
--------------------------------------------------------------------------------
@echo off
echo McAfee手动杀毒脚本
echo created by scz 20061101
echo =================================================
echo 建议在管理员环境下运行此脚本,以便能成功杀除病毒
echo =================================================
rem 此脚本运行需要McAfee的SupperDat,下载地址:http://www.mcafee.com/apps/downloads/security_updates/superdat.asp?region=cn&segment=enterprise
rem SupperDat下载后,请重命名为Mcafee*.exe(*为任意字符)
echo 正在连接远程计算机(scz)...
net use \\10.1.103.10 /user:scz\sczscz sczscz >nul 2>&1
net use x: /del /y >nul 2>&1
net use x: \\10.1.103.10\update >nul 2>&1 || (echo 网络异常,无法执行下步操作,请按任意键退出... &goto error)
cd /d x:\
if not exist mcafee*.exe (echo 病毒码不存在,无法执行下步操作,请按任意键退出... &goto error)
echo 正在释放病毒码...
for /f %%i in ('dir mcafee*.exe /b /o-d 2^>nul') do (%%i /e c:\Mcafee & goto start)
:start
net use x: /del /y >nul 2>&1
net use \\10.1.103.10 /del /y >nul 2>&1
echo 启动扫描...
echo @echo off >c:\mcafee\杀毒.bat
echo echo. c:\mcafee\杀毒.bat
echo echo ============================================ c:\mcafee\杀毒.bat
echo echo McAfee手动杀毒脚本,扫描结束后会自动打开报表 c:\mcafee\杀毒.bat
echo echo created by scz 20061031 c:\mcafee\杀毒.bat
echo echo ============================================ c:\mcafee\杀毒.bat
echo set filename=%%date:-=%%.%%time::=%%.html c:\mcafee\杀毒.bat
echo cd /d c:\mcafee c:\mcafee\杀毒.bat
echo REM 保留最近10个报表 c:\mcafee\杀毒.bat
echo for /f "skip=10" %%%%i in ('dir *.html /o-d /b 2^^^>nul') do (del %%%%i) c:\mcafee\杀毒.bat
echo scan /ADL /ANALYZE /CLEAN /TIMEOUT 15 /WINMEM /HTML "%%filename%%" c:\mcafee\杀毒.bat
echo echo 病毒扫描完毕,请按任意键打开报表... c:\mcafee\杀毒.bat
rem echo pause ^>nul c:\mcafee\杀毒.bat
echo if exist "%%filename%%" start "" "%%filename%%" c:\mcafee\杀毒.bat
cd /d c:\mcafee
start "McAfee VirusScan" cmd /c 杀毒.bat
goto end
:error
pause >nul
:end
20061215: 修改scan.exe运行参数,增加 /PROGRAM (扫描恶意软件)、/NORENAME (不更改文件名)。
MCAFEE命令行参考手册:http://scz123.googlepages.com/Mcafee5100wpg.pdf
1、使用本地的MCAFEE SUPERDAT来运行的脚本
2、使用局域网上共享的MCAFEE SUPERDAT来运行的脚本
--------------------------------------------------------------------------------
1、使用本地的MCAFEE SUPERDAT来运行的脚本
--------------------------------------------------------------------------------
@echo off
echo McAfee手动杀毒脚本
echo created by scz 20061101
echo =================================================
echo 建议在管理员环境下运行此脚本,以便能成功杀除病毒
echo =================================================
rem 此脚本运行需要McAfee的SupperDat,下载地址:http://www.mcafee.com/apps/downloads/security_updates/superdat.asp?region=cn&segment=enterprise
rem SupperDat下载后,请重命名为Mcafee*.exe(*为任意字符)
if not exist mcafee*.exe (echo 病毒码不存在,无法执行下步操作,请按任意键退出... &goto error)
echo 正在释放病毒码...
for /f "skip=1" %%i in ('dir mcafee*.exe /o-d /b 2^>nul') do (del %%i)
for /f %%i in ('dir mcafee*.exe /b /o-d') do (%%i /e c:\Mcafee & goto start)
:start
echo 启动扫描...
echo @echo off >c:\mcafee\杀毒.bat
echo echo. c:\mcafee\杀毒.bat
echo echo ============================================ c:\mcafee\杀毒.bat
echo echo McAfee手动杀毒脚本,扫描结束后会自动打开报表 c:\mcafee\杀毒.bat
echo echo created by scz 20061031 c:\mcafee\杀毒.bat
echo echo ============================================ c:\mcafee\杀毒.bat
echo set filename=%%date:-=%%.%%time::=%%.html c:\mcafee\杀毒.bat
echo cd /d c:\mcafee c:\mcafee\杀毒.bat
echo REM 保留最近10个报表 c:\mcafee\杀毒.bat
echo for /f "skip=10" %%%%i in ('dir *.html /o-d /b 2^^^>nul') do (del %%%%i) c:\mcafee\杀毒.bat
echo scan /ADL /ANALYZE /PROGRAM /CLEAN /NORENAME /TIMEOUT 15 /WINMEM /HTML "%%filename%%" c:\mcafee\杀毒.bat
echo echo 病毒扫描完毕,请按任意键打开报表... c:\mcafee\杀毒.bat
echo if exist "%%filename%%" start "" "%%filename%%" c:\mcafee\杀毒.bat
cd /d c:\mcafee
start "McAfee VirusScan" cmd /c 杀毒.bat
goto end
:error
pause >nul
:end
--------------------------------------------------------------------------------
2、使用局域网上共享的MCAFEE SUPERDAT来运行的脚本
--------------------------------------------------------------------------------
@echo off
echo McAfee手动杀毒脚本
echo created by scz 20061101
echo =================================================
echo 建议在管理员环境下运行此脚本,以便能成功杀除病毒
echo =================================================
rem 此脚本运行需要McAfee的SupperDat,下载地址:http://www.mcafee.com/apps/downloads/security_updates/superdat.asp?region=cn&segment=enterprise
rem SupperDat下载后,请重命名为Mcafee*.exe(*为任意字符)
echo 正在连接远程计算机(scz)...
net use \\10.1.103.10 /user:scz\sczscz sczscz >nul 2>&1
net use x: /del /y >nul 2>&1
net use x: \\10.1.103.10\update >nul 2>&1 || (echo 网络异常,无法执行下步操作,请按任意键退出... &goto error)
cd /d x:\
if not exist mcafee*.exe (echo 病毒码不存在,无法执行下步操作,请按任意键退出... &goto error)
echo 正在释放病毒码...
for /f %%i in ('dir mcafee*.exe /b /o-d 2^>nul') do (%%i /e c:\Mcafee & goto start)
:start
net use x: /del /y >nul 2>&1
net use \\10.1.103.10 /del /y >nul 2>&1
echo 启动扫描...
echo @echo off >c:\mcafee\杀毒.bat
echo echo. c:\mcafee\杀毒.bat
echo echo ============================================ c:\mcafee\杀毒.bat
echo echo McAfee手动杀毒脚本,扫描结束后会自动打开报表 c:\mcafee\杀毒.bat
echo echo created by scz 20061031 c:\mcafee\杀毒.bat
echo echo ============================================ c:\mcafee\杀毒.bat
echo set filename=%%date:-=%%.%%time::=%%.html c:\mcafee\杀毒.bat
echo cd /d c:\mcafee c:\mcafee\杀毒.bat
echo REM 保留最近10个报表 c:\mcafee\杀毒.bat
echo for /f "skip=10" %%%%i in ('dir *.html /o-d /b 2^^^>nul') do (del %%%%i) c:\mcafee\杀毒.bat
echo scan /ADL /ANALYZE /CLEAN /TIMEOUT 15 /WINMEM /HTML "%%filename%%" c:\mcafee\杀毒.bat
echo echo 病毒扫描完毕,请按任意键打开报表... c:\mcafee\杀毒.bat
rem echo pause ^>nul c:\mcafee\杀毒.bat
echo if exist "%%filename%%" start "" "%%filename%%" c:\mcafee\杀毒.bat
cd /d c:\mcafee
start "McAfee VirusScan" cmd /c 杀毒.bat
goto end
:error
pause >nul
:end
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件!
如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
白云城资源网 Copyright www.dyhadc.com
暂无“批处理应用-Mcafee手动杀毒脚本”评论...
更新日志
2024年12月23日
2024年12月23日
- 小骆驼-《草原狼2(蓝光CD)》[原抓WAV+CUE]
- 群星《欢迎来到我身边 电影原声专辑》[320K/MP3][105.02MB]
- 群星《欢迎来到我身边 电影原声专辑》[FLAC/分轨][480.9MB]
- 雷婷《梦里蓝天HQⅡ》 2023头版限量编号低速原抓[WAV+CUE][463M]
- 群星《2024好听新歌42》AI调整音效【WAV分轨】
- 王思雨-《思念陪着鸿雁飞》WAV
- 王思雨《喜马拉雅HQ》头版限量编号[WAV+CUE]
- 李健《无时无刻》[WAV+CUE][590M]
- 陈奕迅《酝酿》[WAV分轨][502M]
- 卓依婷《化蝶》2CD[WAV+CUE][1.1G]
- 群星《吉他王(黑胶CD)》[WAV+CUE]
- 齐秦《穿乐(穿越)》[WAV+CUE]
- 发烧珍品《数位CD音响测试-动向效果(九)》【WAV+CUE】
- 邝美云《邝美云精装歌集》[DSF][1.6G]
- 吕方《爱一回伤一回》[WAV+CUE][454M]