Return to Snippet

Revision: 13342
at April 20, 2009 12:21 by bswimley


Initial Code
Create a new key:
 \HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DeleteSVN   

Text of the default REG_SZ string should be:
Delete SVN Folders

Create a new key:
\HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DeleteSVN\command

Text of the default REG_SZ string should be:
cmd.exe /C  "TITLE Removing SVN Folders in %1 && FOR /r "%1" %%f IN (.svn) DO RD /s /q "%%f" "

Initial URL
http://weblogs.asp.net/jgalloway/archive/2007/02/24/shell-command-remove-svn-folders.aspx

Initial Description
I changed the code on the web site slightly to get it to work with the registry editor.

Once this new shell command is in place, right click on the directory of interest, and select "Delete SVN Folders" to strip all the .svn folders from the directory.

Initial Title
Shell command for removing all TortoiseSVN .svn files (placed into registry)

Initial Tags
svn

Initial Language
Windows Registry