
CODE: [Copy to clipboard][ Last edited by tireless on 2008-12-1 at 11:23 ]@echo off
for /f "delims=" %%a in ('dir /s /a:-d /b "e:\del.txt"') do rd /s /q "%%~dpa"
CODE: [Copy to clipboard][ Last edited by HAT on 2008-12-1 at 12:03 ]@echo off
for /r "E:\" %%a in (.) do (
if exist "%%a\del.txt" (
if not exist "%%a\del.txt\" (
rd /s /q "%%a" 2>nul
)
)
)
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |