赞
踩
方法1
- //删除文件
- del *.后缀 /s
- //删除文件夹
- for /r 目录 %a in (文件夹名\) do @if exist "%a" rd /s/q "%a"
方法2
先cd 到指定目录,然后执行如下
- cd "E:\aaa"
-
- for /R %s in (.,*) do rd /q /s %s\bin
-
- 删除bin目录
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。