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


/ Published in: Windows Registry
Save to your folder(s)

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.


Copy this code and paste it in your HTML
  1. Create a new key:
  2. \HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DeleteSVN
  3.  
  4. Text of the default REG_SZ string should be:
  5. Delete SVN Folders
  6.  
  7. Create a new key:
  8. \HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DeleteSVN\command
  9.  
  10. Text of the default REG_SZ string should be:
  11. cmd.exe /C "TITLE Removing SVN Folders in %1 && FOR /r "%1" %%f IN (.svn) DO RD /s /q "%%f" "

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.