![image image](https://i-blog.csdnimg.cn/blog_migrate/4aa5c3f7d40052445f658370311794d3.png)
We’ve previously covered customizing Windows Explorer’s context menus by adding custom shortcuts and removing existing shortcuts with the Registry Editor. FileMenu Tools is an easy-to-use, graphical alternative to these fairly complicated registry hacks.
前面我们已经介绍了通过添加自定义快捷方式和使用注册表编辑器删除现有的快捷方式来自定义Windows资源管理器的上下文菜单。 FileMenu Tools是这些相当复杂的注册表黑客的一种易于使用的图形替代。
FileMenu Tools can add new context menu items and remove existing ones, whether they came with Windows or a third-party program. It also comes with a variety of new context menu options, but you can easily disable them, if desired.
FileMenu Tools可以添加新的上下文菜单项,并删除现有的菜单项,无论它们是Windows还是第三方程序附带的。 它还带有各种新的上下文菜单选项,但是您可以根据需要轻松禁用它们。
入门 (Getting Started)
When you download FileMenu Tools and install it, it’ll try to install a toolbar – you’ll probably want to opt out of this.
当您下载FileMenu Tools并安装它时,它将尝试安装工具栏–您可能要选择退出。
![image image](https://i-blog.csdnimg.cn/blog_migrate/a4c116d84caa3473560593516e795efc.png)
By default, FileMenu Tools adds a new submenu with a variety of additional tools. If this looks like a lot of clutter to you, don’t worry – you can hide all the default options and create your own options that won’t appear in a submenu.
默认情况下,FileMenu Tools添加带有各种其他工具的新子菜单。 如果您觉得这很麻烦,请放心-您可以隐藏所有默认选项并创建自己的选项,这些选项不会出现在子菜单中。
![image image](https://i-blog.csdnimg.cn/blog_migrate/ea06f9375bf6169ebccd297b55c8c8cc.png)
After it’s installed, launch the Configure FileMenu Tools application from your Start menu or desktop to get started. You can also select the Configure FileMenu Tools option in the FileMenu Tools submenu.
安装后,从“开始”菜单或桌面启动“配置FileMenu Tools”应用程序以开始使用。 您也可以在FileMenu Tools子菜单中选择Configure FileMenu Tools选项。
![image image](https://i-blog.csdnimg.cn/blog_migrate/babd7ecffbd25b4984f401fe08ce56dd.png)
There are three tabs in the FileMenu Tools window. One lets you manage the context menu items that come with FileMenu Tools and create your own, one deals with the Send To menu, and one manages other context menu items.
FileMenu Tools窗口中有三个选项卡。 一种可以让您管理FileMenu Tools附带的上下文菜单项并创建自己的菜单项,一种可以处理“发送到”菜单,另一种可以管理其他上下文菜单项。
![image image](https://i-blog.csdnimg.cn/blog_migrate/e12f9dcaf598ebb842c55ad8abe065b6.png)
From the main tab, you can disable individual context menu items that come with FileMenu Tools or click the Options menu and disable all the included tools entirely.
在主选项卡中,可以禁用FileMenu Tools随附的单个上下文菜单项,或单击“选项”菜单并完全禁用所有包含的工具。
![image image](https://i-blog.csdnimg.cn/blog_migrate/a0cfda1add0fdbb45eb907617c50aa02.png)
You can also uncheck the “Show all the Commands in SubMenu” option to place all custom commands in the main menu. This will be cluttered if you’re keeping the default set of options, but may not be a bad idea if you’re only using a handful of custom options.
您也可以取消选中“在子菜单中显示所有命令”选项,以将所有自定义命令置于主菜单中。 如果保留默认选项集,这将很混乱,但是如果仅使用少数自定义选项,这可能不是一个坏主意。
![image image](https://i-blog.csdnimg.cn/blog_migrate/af3d82830c210f03c38624a9fad651fb.png)
FileMenu Tools keeps the options grouped, even if you disable the submenu.
即使禁用了子菜单,FileMenu Tools也会将选项分组。
![image image](https://i-blog.csdnimg.cn/blog_migrate/a4b77b26f873cfe92d74f2b0b09d8cf6.png)
创建新菜单项 (Creating New Menu Items)
To add a new context menu item, click the Add Command option in the sidebar.
要添加新的上下文菜单项,请单击侧栏中的“添加命令”选项。
![image image](https://i-blog.csdnimg.cn/blog_migrate/71f954d75bf798d885613766f74768a5.png)
Use the options in the Properties pane to customize your new option. For example, let’s say we want to add an “Open in Firefox” option for HTML files. First, we’d set the Menu Text option to our desired name – “Open in Firefox,” in this case.
使用“属性”窗格中的选项来自定义新选项。 例如,假设我们要为HTML文件添加“在Firefox中打开”选项。 首先,我们将“菜单文本”选项设置为所需的名称-在这种情况下为“在Firefox中打开”。
![image image](https://i-blog.csdnimg.cn/blog_migrate/4f09b618631eb1f62f16d03da94c2890.png)
In the Extensions pane, we’ll enter “htm,html” to have the option show for both the HTM and HTML file extensions. The info box at the bottom of the Properties pane explains each option and its syntax.
在“扩展名”窗格中,我们将输入“ htm,html”以同时显示HTM和HTML文件扩展名的选项。 “属性”窗格底部的信息框说明了每个选项及其语法。
![image image](https://i-blog.csdnimg.cn/blog_migrate/3e2d8e942532f19f9a7a8a8ac0630368.png)
We only want this option to appear for files, not folders and drives, so we’ll set both “Folders” and “Drives” to “No.”
我们只希望对文件而不是文件夹和驱动器显示此选项,因此我们将“文件夹”和“驱动器”都设置为“否”。
![image image](https://i-blog.csdnimg.cn/blog_migrate/ae3d4eb5aa93d8fed643e0ed0c9595cb.png)
In the program properties section, we click the Program button and browse to the Firefox.exe file in our Program Files folder. FileMenu Tools automatically detects the appropriate icon, but we could also set a custom one with the Icon option.
在程序属性部分,单击“程序”按钮,然后浏览到“程序文件”文件夹中的Firefox.exe文件。 FileMenu Tools会自动检测适当的图标,但我们也可以使用Icon选项设置一个自定义图标。
![image image](https://i-blog.csdnimg.cn/blog_migrate/cfb256e314fc2838d50493819b17847e.png)
After you make this change – or any other change – you’ll have to click the green check mark-shaped “Apply Changes” button on the toolbar to activate your changes. If you made a mistake, you can click the red “Cancel Changes” button instead.
进行此更改(或任何其他更改)后,您必须单击工具栏上绿色复选标记形状的“应用更改”按钮以激活您的更改。 如果输入有误,则可以单击红色的“取消更改”按钮。
![image image](https://i-blog.csdnimg.cn/blog_migrate/99ad701a031a0fb2ec329bce7e3b9bb4.png)
After we click the Apply button, our new option appears in the appropriate context menus.
单击“应用”按钮后,新选项将出现在相应的上下文菜单中。
![image image](https://i-blog.csdnimg.cn/blog_migrate/5c8770c2b2c895e22936eda2e950f72c.png)
You can also create custom Send To menu items on the menu Send To tab.
您也可以在菜单“发送到”选项卡上创建自定义“发送到”菜单项。
自定义快捷方式 (Customizing the Shortcuts)
From the Send To menu tab, you can disable options that appear in the Send To submenu. For example, if you have Skype installed but want to remove the Skype shortcut from the Send To menu, just uncheck the Skype option.
在“发送到”菜单选项卡中,您可以禁用“发送到”子菜单中显示的选项。 例如,如果您已安装Skype,但想从“发送到”菜单中删除Skype快捷方式,则只需取消选中“ Skype”选项。
![image image](https://i-blog.csdnimg.cn/blog_migrate/a82701f119c9b05a3152450dfd15e4c8.png)
You can even disable the Send To menu items that come with Windows.
您甚至可以禁用Windows随附的“发送到”菜单项。
![image image](https://i-blog.csdnimg.cn/blog_migrate/a7ffa20b3fef57bc267adcfb12cec752.png)
From the “Commands of other applications” tab, you can disable options that other programs have installed – for example, unchecking the 7-Zip option removes the submenu that 7-Zip installs.
在“其他应用程序的命令”选项卡中,可以禁用其他程序已安装的选项–例如,取消选中7-Zip选项将删除7-Zip安装的子菜单。
![image image](https://i-blog.csdnimg.cn/blog_migrate/15466a12b9eede1cbbb095ca763ef02d.png)
To disable commands that other applications have installed, you’ll need to run FileMenu Tools as administrator – right-click the shortcut can select “Run as administrator” to do this. If you don’t, you’ll see an error message when you try to disable these commands.
要禁用其他应用程序已安装的命令,您需要以管理员身份运行FileMenu Tools –右键单击快捷方式可以选择“以管理员身份运行”。 如果不这样做,则在尝试禁用这些命令时会看到错误消息。
![image image](https://i-blog.csdnimg.cn/blog_migrate/493ba24180f29fe47fc77db68c0ea442.png)
Do you have a different preferred application for tweaking your Windows Explorer context menus? Leave a comment and let us know about it.
您是否具有用于调整Windows资源管理器上下文菜单的其他首选应用程序? 发表评论,让我们知道。