In Windows XP there was no issue deleting SVN folders. I could just search for "SVN" in the directory and end up with a recursive list of SVN folders which I could delete through the Search interface. It doesn't work in Vista. Search and Delete works for other files, but for some reason those SVN files elude deletion. I can go to a directory directly and delete an SVN folder, but in the Search window nothing happens!
I found this which does work...
http://britishinside.com/archive/2008/03/06/The-Deleting-SVN-Folders-meme.aspx
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\" \""
Copy the text and paste it into a text file called 'svn.reg'. Save the file and open it to add these keys to your registry. Then all you have to do is right-click on the folder and choose "Delete SVN Folders". It's even easier than the Search and Delete method :)
Here's a Delete PDB files shell:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DeletePDB]
@="Delete PDB Files"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DeletePDB\command]
@="cmd.exe /c \"TITLE Removing PDB Files in %1 && COLOR 9A && FOR /r \"%1\" %%f IN (*.pdb) DO DEL /s /q \"%%f\" \""
.
Thursday, July 31, 2008
Subscribe to:
Post Comments (Atom)
Check This Out!
More Links to Good Information
- December (1)
- October (1)
- January (1)
- September (1)
- February (2)
- January (2)
- May (3)
- February (1)
- May (1)
- October (1)
- January (1)
- August (1)
- March (1)
- May (1)
- March (1)
- January (1)
- March (1)
- December (2)
- September (2)
- June (1)
- February (1)
- January (1)
- October (1)
- December (2)
- November (1)
- August (4)
- July (14)
- June (10)
- May (9)
- April (2)
- February (4)
- January (2)
- December (7)
- October (10)
1 comment:
Just select advanced options in the search widget and select "Search hidden files and folders"
Post a Comment