@echo off
echo 专杀工具!
pause
set path=c:\windows;c:\windows\system32;%path%
//
//等价于 path=path+"c:\windows;c:\windows\system32"
//
taskkill -f -im virus.exe
//im: 映像
// r: 只读
// h: 隐藏
// s: 系统
//attrib - 去除属性
// + 增加属性
if exist c:\windows\tasks\virus.exe (
attrib -r -h -s c:\windows\tasks\virus.exe
del c:\windows\tasks\virus.exe
)
if exist c:\windows\tasks\config del c:\windows\tasks\config
if exist c:\windows\tasks\hackfile del c:\windows\tasks\hackfile

这是一个简单的批处理脚本,用于查找并删除病毒文件。它使用`taskkill`命令结束病毒进程,然后检查并删除`c:windows asks`目录下的病毒文件。脚本还遍历所有磁盘的`autorun.inf`文件以及`Recycled`文件夹中的潜在恶意文件。此外,它清理注册表中的启动项,以防止病毒随系统启动。最后,检查并删除编译目录中的病毒文件。

1万+

被折叠的 条评论
为什么被折叠?



