直接处理方法如下: 新建txt文档:复制 for /r . %%a in (.) do @if exist "%%a\.svn" rd /s /q "%%a\.svn" 修改文档为bat后缀。双击运行,按F5刷新,OK,搞定。