[Last Call] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 281
  • Last Modified:

Edit Windows Menu

How to add a new menu item to the windows default context menu?
I want the item i will add to show in the right click menu when right click on any thing (floder, file, desktop, ....).

"Web articles or pages will be fine"
  • 3
  • 2
1 Solution
http://msdn.microsoft.com/workshop/browser/ext/tutorials/context.asp has info on the registry entry.


Here's a free program to do it if you're looking just for yourself

If you're looking how to do it in some programming language, post which language.
amrelgarhy81Author Commented:
amrelgarhy81Author Commented:
I need that for an application iam doing its idea is:

1- Will make a new menu item that will call an my application that will open a URL
2- Will edit the function of (Shift + Ctrl + V) to make another thing in the windows system.
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Simply go into the registry (Start>Run>regedit.exe) and then open HKEY_CLASSES_ROOT. Open up the folder called * (just an asterisk) and then copy another key in there, modifying it to your needs.
amrelgarhy81Author Commented:
add the key under the * or under * / Shellex?
1. Go into REGEDIT
3. Go into the key "shell" (without quotes, not shellex). If it is not there, create it.
4. Create a key in there, naming it whatever you want (it doesn't matter)
5. Set the Default value in that key to the name of the menu item.
        You can put an ampersand (&) before a character to make that letter be the hotkey.
6. Create a key inside of that key you made called "command" (without quotes)
7. Set the Default value in that key to the command you want it to execute.
        By default, the filename will be placed at the end. You can override this
        by putting "%1" (with quotes) in there where you want it to be instead.
        I think you can put that in there multiple times, but I haven't tested it.

By the way, thanks for accepting my answer. ;-)

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now