Delete SVN icons and files

Source: Internet
Author: User

I still remember that I learned how to use SVN and was shocked by its novel ideas and powerful functions. It is undeniable that SVN has provided us a lot of convenience and help in version control and team development. But once it is set as the svn folder, the tag and the file under it will move with the program. If it is a program that has been developed by the team, how can I remove the svn icon and its files?

Method 1: delete SVN files. batch processing:

@ Echo on color 2f mode con: Cols = 80 lines = 25 @ REM @ ECHO is clearing SVN files. Please wait ...... @ REM loop delete all SVN files in the current directory and subdirectory @ REM for/R. % A in (.) do @ if exist "% \. SVN "@ echo" % \. SVN "@ for/R. % A in (.) do @ if exist "% \. SVN "RD/S/Q" % \. SVN "@ ECHO: cleaned up !!! @ Pause

Create a text file, put the above Code in it, save it, and change the extension to. bat. Run the command to delete the svn file in the current folder.

Method 2: delete SVN files. Registry method:

Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE \ SOFTWARE \ Classes \ Folder \ shell \ deletesvn] @ = "Delete the directory. SVN file "[HKEY_LOCAL_MACHINE \ SOFTWARE \ Classes \ Folder \ shell \ deletesvn \ command] @ =" cmd.exe/C \ "title removing SVN folders in % 1 & Color 9A & /r \ "% 1 \" % F in (. SVN) do RD/S/Q \ "% F \"\""

Create a text file, copy the code, save the file, and change the extension to. Reg. You can append the function to the folder by right-clicking it. Use:

So far, all SVN files have been deleted. After testing, under winserver2003, the icon will disappear as the svn file disappears, but under win7 (x64), the icon will not disappear immediately, even if the svn icon overwrites (icon overlays) when the cache status is set to none, it will not immediately take effect. This problem remains to be solved.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.