for %%a in (c d e f g h i j k l m n o p q r s t u v w x y
z) do (
attrib -h -s -r %%a:\autorun.inf >nul 2>nul
echo Y|cacls "%%a:\autorun.inf" /T /C /P everyone:F
>nul 2>nul
rd /s/q %%a:\autorun.inf\e2e2~1 >nul 2>nul
rd /s/q %%a:\autorun.inf>nul 2>nul
原帖由 haiou327 于 2010-8-20 23:25 发表
for %%a in (c d e f g h i j k l m n o p q r s t u v w x y
z) do (
attrib -h -s -r %%a:\autorun.inf >nul 2>nul
echo Y|cacls "%%a:\autorun.inf" /T /C /P everyone:F
>nul 2>nul
rd / ...
Autorun.inf------->右键共享和安全------->高级------->所有者------->选上Administrator(超级管理员)------->应用确定------->确定退出右键菜单
再重新进入------->右键共享和安全修改EVERYONE的管理权,再执 for %%a in (c d e f g h i j k l m n o p q r s t u v w x y
z) do (
attrib -h -s -r %%a:\autorun.inf >nul 2>nul
echo Y|cacls "%%a:\autorun.inf" /T /C /P everyone:F
>nul 2>nul
rd /s/q %%a:\autorun.inf\e2e2~1 >nul 2>nul
rd /s/q %%a:\autorun.inf>nul 2>nul