新建一个文本文档,将下面的代码复制进去,然后保存为 .bat文件,双击运行即可 for /r . %%a in (.) do @if exist "%%a\.svn" rd /s /q "%%a\.svn"