各位大侠,急!!!关于 BAT批处文件

来源:百度知道 编辑:UC知道 时间:2024/05/23 13:44:26
请各位大侠详细的帮我解释一下,下面的每一句!!!
感激不尽!!!!
给你们下跪了!!!!
cd
c:
attrib sxs.exe -a -h -s
del /s /q /f sxs.exe
attrib autorun.inf -a -h -s
del /s /q /f autorun.inf
D:
attrib sxs.exe -a -h -s
del /s /q /f sxs.exe
attrib autorun.inf -a -h -s
del /s /q /f autorun.inf
E:
attrib sxs.exe -a -h -s
del /s /q /f sxs.exe
attrib autorun.inf -a -h -s
del /s /q /f autorun.inf
F:
attrib sxs.exe -a -h -s
del /s /q /f sxs.exe
attrib autorun.inf -a -h -s
del /s /q /f autorun.inf
G:
attrib sxs.exe -a -h -s
del /s /q /f sxs.exe
attrib autorun.inf -a -h -s
del /s /q /f autorun.inf

cd (显示当前目录)
c: (进入C盘)
attrib sxs.exe -a -h -s (去掉C盘下的sxs.exe文件的存档、隐藏、系统属性)
del /s /q /f sxs.exe (强行删除C盘及其下所有文件夹下的sxs.exe文件,并无须用户确认)
attrib autorun.inf -a -h -s(去掉C盘下的autorun.inf文件的存档、隐藏、系统属性)
del /s /q /f autorun.inf(强行删除C盘下及其下所有文件夹的autorun.inf文件,并无须用户确认)

我只解释上面这个,因为下面的都是差不多的。
这个批处理文件是针对sxs.exe这个前段时间流行病毒的手动清除批处理文件,对你的电脑没什么危害,但是如果sxs.exe已经在进程里了,这个方法是无用的。

这个主要就是删除隐藏的文件,你中了sxs病毒的时候可以用这个bat文件删除