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.