跳转到主内容
趣航编程网 - 趣学编程,启航技术之路!

用批处理实现Auto病毒专杀工具的代码

@ echo off

color 0a

mkdir c:\windows\system32\algssl.exe

mkdir c:\windows\system32\msfir80.exe

mkdir c:\windows\system32\msime80.exe

attrib +s +r +h c:\windows\system32\algssl.exe

attrib +s +r +h c:\windows\system32\msfir80.exe

attrib +s +r +h c:\windows\system32\msime80.exe

pause

====================================

免疫的批处理〈试试拉〉

--------------------------------------------------------------------------------

@ echo off

color 0a

echo   =======================sal.xls.exe病毒清除=====================

echo     ===================请不要打开任何程序或文件==============

echo       =======================小T编写========================

pause

cls

echo =========================================================================

echo                 小T提示你,正在结束病毒进程

echo

echo =========================================================================

taskkill /f /im algssl.exe

taskkill /f /im msfir80.exe

taskkill /f /im msime80.exe

cls

echo =========================================================================

echo                 小T提示你,正在删除病毒文件

echo =========================================================================

rmdir /s /q c:\windows\system32\algssl.exe

rmdir /s /q c:\windows\system32\msfir80.exe

rmdir /s /q c:\windows\system32\msime80.exe

cls

echo =========================================================================

echo                 小T提示你,正在删除硬盘右件菜单

echo =========================================================================

rmdir /s /q c:\AUTOINF.EXE

rmdir /s /q c:\sal.xls.exe

rmdir /s /q d:\AUTOINF.EXE

rmdir /s /q d:\sal.xls.exe

rmdir /s /q e:\AUTOINF.EXE

rmdir /s /q e:\sal.xls.exe

rmdir /s /q f:\AUTOINF.EXE

rmdir /s /q f:\sal.xls.exe

rmdir /s /q g:\AUTOINF.EXE

rmdir /s /q g:\sal.xls.exe

cls

echo =========================================================================

echo               小T提示你,正在修复硬盘右键

echo =========================================================================

chkdsk c:\ /f

chkdsk d:\ /f

chkdsk e:\ /f

chkdsk f:\ /f

chkdsk g:\ /f

cls

color 0e

echo =========================================================================

echo         小T提示你,如果不能正常显示隐藏文件请安一下方法修复

echo   修改HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\explorer\

echo   Advanced\Folder\Hidden\

echo   其下的两个键NOHIDDEN、SHOWALL的键值都改为1

echo   修复完毕请重起电脑

echo =========================================================================

pause

相关文章