Forum Discussion

Bounskui's avatar
Bounskui
Copper Contributor
Sep 14, 2024
Solved

How to add a new option to context menu?

The method in the screenshot does not work. Please kindly suggest me how to do that.

  • Right-click on the shell key (or any other key depending on context) and select New > Key. Name the new key whatever you want to display in the context menu.
  • Swawn's avatar
    Swawn
    Iron Contributor

    Make sure the path to FF1mpeg in your command is correct. If FF1mpeg is not in your system's PATH, you'll need to specify the full path to the executable.

  • maciaccio's avatar
    maciaccio
    Copper Contributor

    If it ever worked, the solution definately does not work with the latest Windows 11 update, 01/2025. All I want is for the super common task "Print" to appear in the modern context menu,, preferably at the top ribbon, next to the often useless "Share". Having to click "more options" or use the classic menu via StartAllBack checkbox is not what I want. The new context menu is not so bad, except for "Print" missing and the total lack of customization options, despite all efforts exhausted in regedit. If PowerToys can do it, great, already installed. Otherwise, this is a daft design decision. Really?! No one would want to PRINT a file with 2 clicks (right-click>print) instead of 3 clicks or more (right-click, more options, print? Whether print to PDF or to paper, or to default printer...this makes no sense. Currently only solution is to "use classic context menu" with StartAllBack but its cluttered AF, which was the point of the modern menu. I tried with ChatGPT help, it seems to be going off of this article or other similar ones, but Windows 11 has changed the way this works, it seems. 

    right-click>print ... is that so hard?

  • Maggesnt's avatar
    Maggesnt
    Brass Contributor
    Be careful while editing the registry; changing wrong values can lead to system instability. Ensure that you follow these steps exactly as described, and always have a backup ready!
  • Felipefou's avatar
    Felipefou
    Copper Contributor
    Select the newly created key. In the right pane, double-click on the (Default) value and enter the name you want to display in the context menu.
  • Nguyenais's avatar
    Nguyenais
    Iron Contributor
    Powertoys is releasing a context menu editor soon I believe
  • Eommy's avatar
    Eommy
    Iron Contributor

    Bounskui 1.Open the Registry Editor:
    Press Win + R to open the Run dialog.
    Type regedit and press Enter.
    2.Navigate to the appropriate registry key:
    For adding a context menu option for all file types:
    HKEY_CLASSES_ROOT\*\shell
    For adding a context menu option for specific file types, navigate to the specific file type:
    HKEY_CLASSES_ROOT\.txt\shell (for text files, replace `.txt` with your file type)
    3.Create a new key:
    Right-click on the shell folder (or the appropriate folder for your file type).
    Select New > Key.
    Name the key with the text you want to appear in the context menu (e.g., "Open with MyApp").
    4.Set the default value:
    Click on the new key you created.
    In the right pane, double-click the (Default) value and set it to your desired display name (the name that appears in the context menu).
    5.Create a command:
    Right-click on the key you just created and select New > Key.
    Name this key command.
    Select the command key, and double-click the (Default) value in the right pane.
    Enter the path to the application you want to run, followed by any arguments if necessary, e.g.:
    "C:\Path\To\YourApplication.exe" "%1"

  • Rewaina's avatar
    Rewaina
    Brass Contributor
    Editing the Windows Registry can be risky, and if you make a mistake, it can cause system issues. Always back up the registry before making changes.
  • Secna's avatar
    Secna
    Copper Contributor
    Right-click on the shell key (or any other key depending on context) and select New > Key. Name the new key whatever you want to display in the context menu.
  • Lanesy's avatar
    Lanesy
    Copper Contributor
    Sometimes, after a sudden power interruption, it may take a few cycles of powering on and off to get everything back to normal. Just be cautious to avoid causing further damage. Good luck getting your PC up and running again!
  • Nobel_Baynes's avatar
    Nobel_Baynes
    Iron Contributor
    The developer have to code it to make it work with the new context menu.

Resources