Adding menu item in pop-up menu of explorer

By lokem ยท 4 replies
May 8, 2002
  1. HI all,

    I was wondering how I can add a menu item in the popup menu in explorer (when you right-click a file).

    The menu item I'm planning to add is a simple one. It just calls up a text editor and opens the selected file with it.

    Anyone knows how to do this?

  2. Rick

    Rick TechSpot Staff Posts: 4,572   +65

    Wow! I can't believe no one knows how to do this.

    Including me. :)

    Back in the 98 days, I used to be able to by copying shortcuts to a particular folder I think. I'm not sure where though. I will try to find the answer.
  3. Mictlantecuhtli

    Mictlantecuhtli TS Evangelist Posts: 4,345   +11

    Yeah, it's a simple registry tweak:

    In section HKEY_CLASSES_ROOT \ *

    If there's no "shell" key, add it.

    Under "shell", add a key "open"

    Edit the string "default" to whatever you want to show up in pop-up menu, like "Open with Notepad"

    Under "open", add a key "command"

    Edit the string "default" - put the command there, for example "notepad.exe %1"

    New OSs (2k, XP, .NET, ..) are trying to be smarter than you, so you have to delete/rename another registry key before it works with every file:

    ..but damn, I can't remember it anymore..
    It's buried in CLSID section, search for "MayChangeDefaultMenu", the CLSID is mentioned in "shellex" key..
  4. Per Hansson

    Per Hansson TS Server Guru Posts: 1,959   +217

    To add "Open Containing Folder" to all files/shortcuts on your computer;

    Windows Registry Editor Version 5.00
    @="Open Containing Folder"
    @="explorer /select,%1"
    @="Open Containing Folder"
    @="explorer /select,%1"
    As you can see from the output this is from X-Setup, you should be able to modify this to your needs... (or just use X-Setup ;)
  5. kimsland

    kimsland Ex-TechSpotter Posts: 14,523

    X-Setup lol :)

    You can remove them with this tool:
    Context Menu Editor

    I'm sure there'll be an easy add tool too somewhere
    But most users want to get rid of them, they tend to slow down your right clicking, and can cause other undesirable affects
Topic Status:
Not open for further replies.

Similar Topics

Add your comment to this article

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...