Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save justin2061/e01e19248ec78b04df07e18e167bb85a to your computer and use it in GitHub Desktop.
Save justin2061/e01e19248ec78b04df07e18e167bb85a to your computer and use it in GitHub Desktop.
Windows Registry Editor Version 5.00
;
; Running this file will give you an extra context menu item in Windows Explorer
; "Delete SVN folders"
;
; For the selected folder, it will remove all subfolders named ".svn" and their content
; Tip from http://www.iamatechie.com/remove-all-svn-folders-in-windows-xp-vista/
;
; Enrichened with comments by Jesper Rønn-Jensen ( http://justaddwater.dk/ )
;
;
[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\" \""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment