![tortoisesvn](https://i-blog.csdnimg.cn/blog_migrate/3fac2099d704bfb3ab345565e08e7e92.png)
tortoisesvn
If you’re a programmer that uses TortoiseSVN to manage your Subversion source control project, you might wonder how to easily disable the menu items without completely uninstalling. Here’s a quick way to do it.
如果您是使用TortoiseSVN来管理Subversion源代码管理项目的程序员,您可能会想知道如何在不完全卸载的情况下轻松禁用菜单项。 这是一种快速的方法。
Note: this article is meant for programmers or people pretending to be programmers.
注意:本文适用于程序员或装作程序员的人员。
![image image](https://i-blog.csdnimg.cn/blog_migrate/fe3dfdd6b86a86f2290ec46080d010a2.png)
The general idea is that we’ll remove the Windows Explorer context menu items from the registry with one script, and then add the registry entries back with another script.
一般的想法是,我们将使用一个脚本从注册表中删除Windows资源管理器上下文菜单项,然后使用另一个脚本将注册表项添加回去。
To make it a little simpler and prevent the annoying Regedit prompts, what you can do is create a shortcut to regedit.exe, pass in the location of the registry hack file we’ve provided, and make sure to use the /s switch for silent mode.
为了使其更简单并防止烦人的Regedit提示,您可以做的是创建regedit.exe的快捷方式,传入我们提供的注册表hack文件的位置,并确保使用/ s开关静音模式。
![image image](https://i-blog.csdnimg.cn/blog_migrate/c672b3bb48bf2ae2ca2495070f19a04a.png)
Then put those shortcuts in your Start Menu folder, so you can easily get them from the start menu search.
然后将这些快捷方式放在“开始菜单”文件夹中,以便您可以从开始菜单搜索中轻松获取它们。
![image image](https://i-blog.csdnimg.cn/blog_migrate/641f3fdcdda184eb634cc4ab8d096456.png)
Or you could create a set of hotkeys to enable or disable them on the fly… if you’re reading this, you’re probably a programmer, so you can figure that out.
或者,您可以创建一组热键来即时启用或禁用它们……如果您正在阅读此书,则可能是程序员,因此您可以找出答案。
The only real magic here is the registry hack files that we’ve already created. Download them!
这里唯一真正的魔力是我们已经创建的注册表黑客文件。 下载它们!
Download the Enable/Disable TortoiseSVN Registry Hack
下载Enable / Disable TortoiseSVN Registry Hack
翻译自: https://www.howtogeek.com/howto/21106/how-to-enable-or-disable-tortoisesvn-menus-easily/
tortoisesvn