[英]How add context menu item to Windows Explorer which takes me to some specific location in the same instance of explorer.exe
我想在Windows资源管理器中添加一个上下文菜单项,将其带到某个所需的位置,我在互联网上进行了搜索,但结果却创建了一个新的资源管理器实例。我想知道是否有某种方法可以在Explorer.exe的相同实例。
1: First, launch regedit.exe from the Start menu. 1:首先,从开始菜单启动regedit.exe。
2: Expand the HKEY_CLASSES_ROOT key. 2:展开HKEY_CLASSES_ROOT键。
3: Expand the Directory key. 3:展开目录键。
4: Expand the Background key. 4:展开背景键。
5: Expand the shell key. 5:展开shell键。
6: Right-click the shell key and create a new key. 6:右键单击shell键并创建一个新键。 Name the key what you want the option to appear as in the menu.
将该键命名为您希望该选项显示在菜单中的名称。 I named it "customcommand".
我将其命名为“ customcommand”。
7: Right-click the key you just created and create a new subkey under it. 7:右键单击刚创建的键,并在其下创建一个新的子键。 Name the new key “command.”
将新键命名为“命令”。
8: Double-click the “(Default)” value in the command key and paste this in the value: 8:双击命令键中的“(默认)”值,并将其粘贴到该值中:
C:\\Windows\\explorer.exe /root,C:\Windows
9: Press the OK button. 9:按确定按钮。
10: Now if you right-click on desktop or on any other folder, you will see "customcommand" in the context menu. 10:现在,如果您右键单击桌面或任何其他文件夹,您将在上下文菜单中看到“ customcommand”。 When you click this newly created menu, a new folder view will open and show C:\\Windows.
当您单击此新创建的菜单时,将打开一个新的文件夹视图,并显示C:\\ Windows。 You can change the target path which you saw in 8th step.
您可以更改在第8步中看到的目标路径。
Further info: 更多信息:
http://www.howtogeek.com/107965/how-to-add-any-application-shortcut-to-windows-explorers-context-menu/ http://www.howtogeek.com/107965/how-to-add-any-application-shortcut-to-windows-explorers-context-menu/
https://support.microsoft.com/en-us/help/152457/windows-explorer-command-line-options https://support.microsoft.com/zh-cn/help/152457/windows-explorer-command-line-options
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.