
CODE: [Copy to clipboard]提示找不到文件夹..attrib -r -a -s -h %windir%\$*
rd /s /q %windir%\$*
CODE: [Copy to clipboard](attrib 处理包括子文件夹时才可以使用通配符...)@echo off
attrib -h c:\windows\$* /s
del /q /f c:\windows\$*
for /f "delims=" %%a in ('dir /a:d /b "c:\windows\$*"') do (
call set dirs="%%a" %%dirs%%
)
rd /s /q %dirs%
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |