田径三项全能:我想删除这几个文件,请问怎么写批处理

来源:百度文库 编辑:高校问答 时间:2024/05/07 03:45:29
D:\tool\TTPlayer\wsock32.dll
D:\CS1.5\wsock32.dll
D:\ftc\wsock32.dll
我要什么 提示都没有的 闪一下就搞定的
这几个文件是 病毒 文件 在XP下 要 把隐藏受保护的操作系统文件 那个选项取消掉 才可以看的见的

attrib D:\tool\TTPlayer\wsock32.dll -s -h -r -a
attrib D:\CS1.5\wsock32.dll -s -h -r -a
attrib D:\ftc\wsock32.dll -s -h -r -a
del D:\tool\TTPlayer\wsock32.dll
del D:\CS1.5\wsock32.dll
del D:\ftc\wsock32.dll

存成个del.bat

运行

OK。

del D:\tool\TTPlayer\wsock32.dll
del D:\CS1.5\wsock32.dll
del D:\ftc\wsock32.dll
保存为del.bat
然后执行

attrib D:\tool\TTPlayer\wsock32.dll -s -h -r -a
attrib D:\CS1.5\wsock32.dll -s -h -r -a
attrib D:\ftc\wsock32.dll -s -h -r -a
del -y D:\tool\TTPlayer\wsock32.dll
del -y D:\CS1.5\wsock32.dll
del -y D:\ftc\wsock32.dll

存成个del.bat

运行