亲测有效 创建个txt, 在里面写上 for /r . %%a in (.) do @if exist "%%a\.svn" rd /s /q "%%a\.svn" 然后保存, 再把后缀改为bat, 双击运行即可 文件效果图如下