for %%d in (Autorun.inf,Systom.exe) do if exist "%systemroot%system32%%d" (
attrib -s -h -r "%systemroot%system32%%d"
del "%systemroot%system32%%d" /q
)
[ Last edited by lxmxn on 2008-1-3 at 10:29 PM ]作者: fastslz 时间: 2008-1-3 18:44 判断C:\Windows\system32目录下是否有Autorun.inf和Systom.exe,如果有先去除只读、系统、隐藏属性再删除