将code添加到上下文菜单_如何从Windows的上下文菜单中删除“发送到”菜单

将code添加到上下文菜单

将code添加到上下文菜单

stf_top

If you’ve ever wondered whether you can remove the “Send To” submenu from the Windows context menu, it turns out you can. You just have to make a quick Registry edit.

如果您曾经想过是否可以从Windows上下文菜单中删除“发送到”子菜单,那么可以。 您只需要快速进行注册表编辑。

The “Send To” menu is one of those little Windows features that people either find very useful or not at all useful. We’ve talked about how to customize the “Send To” menu and how to add things like Dropbox to it. But if you don’t use it at all and would rather the “Send To” folder just be out of your way, it’s not hard at all to accomplish.

“发送到”菜单是人们发现非常有用或根本没有用的Windows的其中一些小功能。 我们已经讨论了如何自定义“发送到”菜单以及如何向其中添加诸如Dropbox的功能 。 但是,如果您根本不使用它,而宁愿不使用“发送至”文件夹,则也不难完成。

通过手动编辑注册表来删除“发送到”菜单 (Remove the “Send To” Menu by Editing the Registry Manually)

To remove the “Send To” folder from the context menu, you just need to make a couple of quick edits in the Windows Registry.

要从上下文菜单中删除“发送到”文件夹,您只需要在Windows注册表中进行几次快速编辑。

Standard warning: Registry Editor is a powerful tool and misusing it can render your system unstable or even inoperable. This is a pretty simple hack and as long as you stick to the instructions, you shouldn’t have any problems. That said, if you’ve never worked with it before, consider reading about how to use the Registry Editor before you get started. And definitely back up the Registry (and your computer!) before making changes.

标准警告:注册表编辑器是一个功能强大的工具,滥用它会使您的系统不稳定甚至无法运行。 这是一个非常简单的技巧,只要您按照说明进行操作,就不会有任何问题。 也就是说,如果您以前从未使用过它,请在开始之前考虑阅读有关如何使用注册表编辑器的信息 。 并在进行更改之前一定要备份注册表 (和您的计算机 !)。

Open the Registry Editor by hitting Start and typing “regedit.” Press Enter to open Registry Editor and give it permission to make changes to your PC.

通过单击开始并键入“ regedit”来打开注册表编辑器。 按Enter键打开注册表编辑器,并授予其对PC进行更改的权限。

own_1

In the Registry Editor, use the left sidebar to navigate to the following key:

在注册表编辑器中,使用左侧边栏导航至以下键:

HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\Send To
stf_2

Next, you’ll modify the (Default) value inside the Send To key. Double-click the (Default) value to open its properties window.

接下来,您将修改“ Send To键中的(Default)值。 双击(Default)值以打开其属性窗口。

stf_3

In the “Value data” box, delete the text that’s currently shown, leaving the “Value data” box empty, click “OK.”

在“数值数据”框中,删除当前显示的文本,将“数值数据”框留空,单击“确定”。

stf_4

The changes should take place immediately. To test it out, just right-click any file and make sure the “Send To” folder is gone.

更改应立即进行。 要对其进行测试,只需右键单击任何文件,并确保“发送到”文件夹不存在。

stf_5

If you want to reverse the changes at any time and restore the “Send To” folder, just head back into the Registry and open up that (Default) value inside the Send To key. In the “Value data” box, enter the following text and then click “OK.”

如果你想扭转随时更改,恢复到“发送到”文件夹,只需头回注册表,并开启一个(Default)内部值Send To键。 在“数值数据”框中,输入以下文本,然后单击“确定”。

{7BA4C740-9E81-11CF-99D3-00AA004AE837}
stf_6

下载我们的一键式注册表黑客 (Download Our One-Click Registry Hacks)

stf_7

If you don’t feel like diving into the Registry yourself, we’ve created a couple of registry hacks you can use. The “Remove Send To Folder from Context Menu” hack empties the data from the Send To key’s (Default) value. The “Restore Send To Folder to Context Menu (Default)” hack restores the original value. Both hacks are included in the following ZIP file. Double-click the one you want to use and click through the prompts.

如果您不想自己进入注册表,我们已经创建了两个可以使用的注册表黑客。 “从上下文菜单中删除发送到文件夹”黑客从“ Send To键的(Default)值中清空数据。 “将发送到文件夹还原到上下文菜单(默认)” hack可以还原原始值。 这两种黑客都包含在以下ZIP文件中。 双击您要使用的一个,然后单击提示。

Send To Folder Hacks

发送到文件夹黑客

These hacks are really just the Send To key, stripped down to the (Default)  value we talked about in the previous section and then exported to a .REG file. Running the hacks just modifies the value. And if you enjoy fiddling with the Registry, it’s worth taking the time to learn how to make your own Registry hacks.

这些hack实际上只是Send To密钥,被精简为上一节中讨论的(Default)值,然后导出到.REG文件。 运行hack只是修改了价值。 而且,如果您喜欢使用注册表,则值得花时间学习如何制作自己的注册表黑客

翻译自: https://www.howtogeek.com/howto/windows-vista/disable-the-send-to-folder-on-the-windows-explorer-context-menu/

将code添加到上下文菜单

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值