电脑硬盘双击打不开,提示脚本错误

来源:百度知道 编辑:UC知道 时间:2024/05/17 00:02:46
怎么办???

是不是中了病毒

把以下代码另存为后缀名为.bat的文件

双击执行即可。

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

是中毒了.直接用CMD命令行删除
运行 cmd
进入出现问题的盘符,如e:
输入:dir/a
看看有没有SVOHOST.EXE 和AUTORUN.INF
如果有
则输入:attrib -a -s -h -r sxs.exe
attrib -a -s -h -r autorun.inf
分别执行(目的是取消这两个文件的隐藏属性)
3)然后 del sxs.exe
del autorun.inf
(目的是删除文件)

自动