
将code添加到上下文菜单

Windows 10 has a hidden function that allows you to right-click a file and either move or copy it to a specific location of your choosing. This little registry hack will have you copying and moving your files with ease.
Windows 10具有隐藏功能,可让您右键单击文件并将其移动或复制到您选择的特定位置。 这个小的注册表黑客将使您轻松地复制和移动文件。
We have to preface this with a standard warning, however. The Registry Editor is a powerful tool and, if it’s misused, it can render your system unstable or even inoperable. This is a pretty simple hack, though. As long as you stick to the instructions, you shouldn’t have any problems.
但是,我们必须以标准警告开头。 注册表编辑器是一个功能强大的工具,如果使用不当,可能会使您的系统不稳定甚至无法运行。 不过,这是一个非常简单的技巧。 只要您按照说明进行操作,就不会有任何问题。
If you’ve never worked with the Registry Editor before, though, you might want to read up on it a bit before you get started. And definitely back up the Registry (and your computer) before you make the following changes.
但是,如果您以前从未使用过注册表编辑器,则可能需要在开始之前对其进行一些阅读 。 并且,在进行以下更改之前,一定要备份注册表 (和您的计算机 )。
If you want to be extra safe, you can also create a System Restore point before you continue. That way, if something does go wrong, you can just roll back to before things went haywire.
如果要更加安全,还可以在继续之前创建系统还原点 。 这样,如果出现问题,您可以回滚到发生问题之前。
将“移至”添加到上下文菜单 (Add “Move to” to the Context Menu)
To add “Move to” to the context menu, the first thing you have to do is open the Registry Editor. To do so, press Windows+R, type “regedit” in the text box, and then press Enter.
要将“移至”添加到上下文菜单,首先要做的是打开注册表编辑器。 为此,请按Windows + R,在文本框中键入“ regedit”,然后按Enter。

Navigate to the following key in the left sidebar or you can paste it directly into the address bar:
导航到左侧栏中的以下键,也可以将其直接粘贴到地址栏中:
HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers
Once you’re there, right-click “ContextMenuHandlers,” and then select New > Key from the pop-up menu.
到达那里后,右键单击“ ContextMenuHandlers”,然后从弹出菜单中选择“新建”>“键”。

Name the new key “Move to,” and then press Enter.
将新键命名为“ Move to”,然后按Enter。
Now, double-click “(Default),” paste the following string into the “Value Data” field, and then press Enter:
现在,双击“(默认)”,将以下字符串粘贴到“值数据”字段中,然后按Enter:
{C2FBB631-2971-11D1-A18C-00C04FD75D13}

You can now safely close the Registry Editor. You don’t have to restart or sign out to start using this functionality.
现在,您可以安全地关闭注册表编辑器。 您无需重新启动或注销即可开始使用此功能。
将“复制到”添加到上下文菜单 (Add “Copy to” to the Context Menu)
The same as before, to add “Copy to” to the context menu, you first open the Registry Editor. Press Windows+R, type “regedit” in the text box, and then press Enter.
与之前相同,要将“复制到”添加到上下文菜单,请首先打开注册表编辑器。 按Windows + R,在文本框中键入“ regedit”,然后按Enter。

Navigate to the following key in the left sidebar or paste it directly into the address bar:
导航到左侧栏中的以下键,或将其直接粘贴到地址栏中:
HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers
Once you’re here, right-click “ContextMenuHandlers” and select New > Key from the pop-up menu.
进入这里后,右键单击“ ContextMenuHandlers”,然后从弹出菜单中选择“新建”>“键”。

Name the new key “Copy to” and press Enter.
将新键命名为“ Copy to”,然后按Enter。
Now, double-click “(Default),” paste the following string into the “Value data” field, and then press Enter:
现在,双击“(默认)”,将以下字符串粘贴到“值数据”字段中,然后按Enter:
{C2FBB630-2971-11D1-A18C-00C04FD75D13}

When you’re finished, you can safely close Registry Editor. Again, you don’t have to restart or sign out to start using this functionality.
完成后,可以安全地关闭注册表编辑器。 同样,您不必重新启动或注销即可开始使用此功能。
下载我们的一键式注册表黑客 (Download Our One-Click Registry Hack)
If you’d rather not edit the registry yourself, you can download our Add Move to/Copy to registry hack. Just open the ZIP file, double-click either “AddMoveTo.reg” or “AddCopyTo.reg,” and then click “Yes” to add the information to your registry.
如果您不想自己编辑注册表,可以下载我们的“ 添加到/复制到注册表”技巧。 只需打开ZIP文件,双击“ AddMoveTo.reg”或“ AddCopyTo.reg”,然后单击“是”即可将信息添加到注册表中。

These REG files add the same registry settings we covered above. If you’d like to see what this (or any other) REG file will do before you run it, right-click the file, and then select “Edit” to open it in Notepad.
这些REG文件添加了我们上面介绍的相同的注册表设置。 如果您想在运行它之前查看此(或任何其他)REG文件的作用,请右键单击该文件,然后选择“编辑”以在记事本中打开它。
You can also easily make your own Registry hacks.
您也可以轻松地制作自己的注册表黑客 。
从上下文菜单中使用“移至”或“复制至” (Using “Move to” or “Copy to” From the Context Menu)
After you add these tweaks to the Windows registry and you right-click a file or folder, the context menu appears as usual, but it will now also contain the “Move to” and/or “Copy to” options.
将这些调整添加到Windows注册表中并右键单击文件或文件夹后,上下文菜单将照常显示,但是现在它还将包含“移至”和/或“复制至”选项。

A nice little dialog pops up so you can choose a destination folder. After you do, just click “Copy” to send that file to the folder you specified.
弹出一个小对话框,您可以选择目标文件夹。 完成后,只需单击“复制”即可将该文件发送到您指定的文件夹。

将code添加到上下文菜单