很多使用svn的程序员都遇到过.svn文件夹的干扰。为此可以使用如下代码清除:

for /D /R %%i in (*.*) do (
cd %%i
if exist .svn (
rd .svn /s /q
)
if exist CVS (
rd CVS /s /q
)
cd ..
)

将上面的代码copy到txt文件,再见txt文件改为bat文件即可。