简体   繁体   中英

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.

2: Expand the HKEY_CLASSES_ROOT key.

3: Expand the Directory key.

4: Expand the Background key.

5: Expand the shell key.

6: Right-click the shell key and create a new key. Name the key what you want the option to appear as in the menu. I named it "customcommand".

7: Right-click the key you just created and create a new subkey under it. Name the new key “command.”

8: Double-click the “(Default)” value in the command key and paste this in the value:

C:\\Windows\\explorer.exe /root,C:\Windows

9: Press the OK button.

10: Now if you right-click on desktop or on any other folder, you will see "customcommand" in the context menu. When you click this newly created menu, a new folder view will open and show C:\\Windows. You can change the target path which you saw in 8th step.

Further info:

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM