Saturday 1 March 2008

Reg File to for Context Menu to allow Recursive Delete of all SVN folders

This reg file is very handy when cleaning up corrupted SVN local working copies. To use just copy the text below (between the SNIP tags) into svnClean.reg and double click on the file to install.
<SNIP>

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 && COLOR 9A && FOR /r \"%1\" %%f IN (_svn) DO RD /s /q \"%%f\" \""

</SNIP>

Thanks to http://weblogs.asp.net/jgalloway/archive/2007/02/24/shell-command-remove-svn-folders.aspx for this tip.



No comments: