Save the following text as svn.reg: (Note: it’s likely that the double quotes are copied as some unicode character. Replace them to the proper double quotes.)

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 _svn) DO RD /s /q \”%%f\” \””

 

run this file to add the components to the registry.

Now there should be “Delete SVN Folders” option in the right-click menu.

This recursively deletes all the .svn folders in the designated folder

Advertisements