批处理删除文件及文件夹

cd 文件夹路径
for /f %%a in ('dir /a:d /b') do rmdir /s /q %%a
del /s /q /f *.*
posted @ 2012-02-20 10:10  zhh  阅读(167)  评论(0编辑  收藏  举报