删除SVN/CVS目录的bat脚本

@echo On @Rem 删除SVN版本控制目录 @PROMPT [Com]

@for /r . %%a in (.) do @if exist "%%a/.svn" rd /s /q "%%a/.svn" @Rem for /r . %%a in (.) do @if exist "%%a/.svn" @echo "%%a/.svn"

@echo Mission Completed. @pause

 

@echo On @Rem 删除CVS版本控制目录 @PROMPT [Com]#

@for /r . %%a in (.) do @if exist "%%a/CVS" rd /s /q "%%a/CVS" @Rem for /r . %%a in (.) do @if exist "%%a/CVS" @echo "%%a/CVS"

@echo Mission Completed. @pause

你可能感兴趣的:(SVN)