![]() |
中国DOS联盟-- 联合DOS 推动DOS 发展DOS --联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum |
| 游客 | 登录 | 注册 | 会员 | 搜索 | 中国DOS联盟 |
|
中国DOS联盟论坛 现在时间是 2026-09-13 22:18 |
共 47,812 主题排行 / 349,916 发帖 / 今日 0 篇 / 48,268 会员排行 |
| 论坛回收站 » 大大们帮个忙~~ |
| 可打印版本 1,592 / 0 |
| 第1楼 recallhy | 发表于 2010-07-29 23:25 |
| 新手上路 发帖 3 积分 7 | |
|
大大们帮个忙~~ :Recall
set choice= set /p choice=请输入执行选项: if not "%Choice%"=="" set Choice=%Choice:~0,1% if /i "%choice%"=="1" goto One if /i "%choice%"=="2" goto Two if /i "%choice%"=="3" goto Byebye Echo 输入错误,请重新输入! Echo. goto Recall :One for %%i in (c,d,e,f,g,h,i,j,k,l) do ( Rd %%i:\Autorun.inf /S /Q Md %%i:\Autorun.inf Md "%%i:\Autorun.inf\回憶专用免疫文件夹(无害)..\\\" Attrib +A +S +H +R %%i:\Autorun.inf /S /D Del %%i:\*.exe /F /Q /A RSHA Del %%i:\*.lnk /F /Q /A RSHA Del %%i:\*.vbs /F /Q /A RSHA Del %%i:\*.dll /F /Q /A RSHA ) Goto :Byebye :Two for %%o in (c,d,e,f,g,h,i,j,k,l) do ( Rd %%o:\Autorun.inf /S /Q Md %%o:\Autorun.inf Md "%%o:\Autorun.inf\回憶专用免疫文件夹(无害)..\\\" Attrib +A +S +H +R %%o:\Autorun.inf /S /D Del %%i:\*.exe /F /Q /A RSHA Del %%i:\*.lnk /F /Q /A RSHA Del %%i:\*.vbs /F /Q /A RSHA Del %%i:\*.dll /F /Q /A RSHA Del %%i:\*.url /F /Q /A RSHA Del %%i:\*.inf /F /Q /A RSHA Del %%i:\*.ini /F /Q /A RSHA ) Goto :Byebye :Byebye Del %0 为什么goto到two没有用呢? 还有del命令还可以减少吗? del %%i:\*.exe;%%i:\*.dll 这样可以吗? |
|
|
[ 联系联盟系统管理团队 -
中国DOS联盟 -
标准版 ] Sponsored by ifanr Inc | © 2001–2023 |