@echo off for /f "delims=" %%i in ('dir /s/b/ad .svn') do ( rd /s/q "%%~i" ) exit 转载于:https://www.cnblogs.com/luoyaoquan/archive/2011/12/15/2288891.html