批处理遍历特定目录并删除指定文件夹

for /f "delims=" %%a in ('dir /ad/s/b DIRNAME') do rd /s/q "%%~a"

 

posted @ 2015-04-28 14:54  艾阳君  阅读(1855)  评论(0编辑  收藏  举报