码场老农 2010-12-24
删除SVN目录的批处理
总是在用的时候找不到,记在这里吧
批处理
@for /r . %%a in (.) do @if exist "%%a\.svn" rd /s /q "%%a\.svn"
注册表
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DeleteSVN] @="Delete SVN Folders" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DeleteSVN\command] @="cmd.exe /c \"TITLE Removing SVN Folders in %1 && FOR /r \"%1\" %%f IN (.svn) DO RD /s /q \"%%f\" \""