With a quick registry tweak, you can add any application to any Windows Explorer context menu. You can even add application shortcuts to your desktop’s context menu and launch your favorite applications just by right-clicking on your desktop.
4.) This Solution is valid for Windows To ad the save delete file to right click 'Send to Menu' is Suitable for Windows 10 (Redstone 4 & 5) Pro, Enterprise, Home, Windows 8.1, Windows 8, Windows-Server 2016, 2012, 2008, Windows 7 Basic, Professional, Starter, Ultimate a nice easy way to erase files and folders easier via MS file explorer context menu! With a quick registry tweak, you can add any application to any Windows Explorer context menu. You can even add application shortcuts to your desktop’s context menu and launch your favorite applications just by right-clicking on your desktop. With a quick registry tweak, you can add any application to any Windows Explorer context menu. Possible Duplicate: Windows 7 - Add an item to ‘new’ context menu I've installed Access 2010 but have some software that can only handle the old.mdb files. When I right click an empty space i. Right Click Context Menu Adder: Freeware to Add Useful Shortcuts in Windows 7 and Later Desktop Context Menu. If you select ' Show only when SHIFT key is pressed ' option, the new shortcut will only be shown in Desktop context menu when you press SHIFT key while right-clicking on. You can also add any application to the desktop right-click menu pretty easily. Just right-click on the shell key and choose New – Key. Name the key whatever you want as that will appear in the context menu.
We’ve previously covered adding an “Open with Notepad” option to any file’s right-click menu in Windows Explorer, but you can do much more than that.
Getting Started
First, launch regedit.exe from the Start menu.
Expand the HKEY_CLASSES_ROOT key.
Specific File Types
As an example, let’s add an option to the context menu for .gif files.
First, scroll down to the .gif key under HKEY_CLASSES_ROOT.
Select it and look at its “(Default)” value. In this case, the default value is “giffile”.
Head to down to the giffileshell key, also under HKEY_CLASSES_ROOT.
First, right-click the shell key and create a new key. Name the key what you want the option to appear as in the menu. Next, right-click the key you just created and create a new subkey under it. Name the new key “command.”
Double-click the “(Default)” value in the command key and enter the path to the .exe file in the following format:
C:Program FilesSomethingsomething.exe %1
Be sure to use the double backslashes and end the path with %1. The %1 passes the selected file name to the program.
The option will appear immediately.
Only When Pressing Shift
To have a shortcut appear only when you press Shift while right-clicking, create a string value named “Extended” in the action’s main key.
All File Types
The HKEY_CLASSES_ROOT*shell key holds options that appear when you right-click any type of file.
First, navigate to the *shell key.
Next, create a key with the same structure.
You’ll see the option when you right-click any type of file.
Desktop Menu
Use the HKEY_CLASSES_ROOTDesktopBackgroundshell key to have a shortcut appear when you right-click the desktop.
Omit the %1 part of the command because you only want Windows to launch the app, not try to pass anything to it.
Folder Menus
Use the HKEY_CLASSES_ROOTDirectoryshell key to have the option appear when you right-click a directory.
Use the HKEY_CLASSES_ROOTDirectoryBackgroundshell key to have an option appear when you right-click the background of a directory in a Windows Explorer window.
Creating a .Reg File
You can create .reg files that do this for you. Let’s create a .reg file for the .gif example.
First, we’d launch Notepad or another text editor. Then, we’d enter the following text:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOTgiffileshellOpen with Somethingcommand]
@=”C:Program FilesSomethingsomething.exe”
@=”C:Program FilesSomethingsomething.exe”
Save the file with the .reg file extension. You can double-click it to add the information to your registry.
A single .reg file can contain multiple entries, so you could have one .reg file that installs all your favorite shortcuts.
READ NEXT- › A New Wireless Standard: What Is Amazon Sidewalk?
- › How to Use Text Editing Gestures on Your iPhone and iPad
- › Windows 10’s BitLocker Encryption No Longer Trusts Your SSD
- › How to Disable or Enable Tap to Click on a PC’s Touchpad
- › How HTTP/3 and QUIC Will Speed Up Your Web Browsing
Active3 months ago
I have found out how to add right-click context menu items to files on Windows Explorer, by adding keys to the registry. I.e. I can right-click on a file in Explorer and run a custom app against that file.
I would like to do the same for a folder and have not found a way to do that (yet). I see articles on creating/writing custom context menu handlers, but I would rather not go there.
I have found an article here on how to add cascading context menu items to the Desktop and to the 'Computer' in Explorer, but this does not work for any folder.
I would like to be able to add my custom app to the context menu and have it work on both files and folders. Is there a way to do this without writing a context menu handler?
ElanElan2,90488 gold badges5656 silver badges8282 bronze badges
5 Answers
Context menu for right click on folders in left panel of Windows Explorer or on background of a directory in right panel:
- HKEY_CLASSES_ROOTDirectoryBackgroundshell if you are administrator
- HKEY_CURRENT_USERSoftwareClassesdirectoryBackgroundshell if you are a normal user
Context menu for right click on folders in right panel of Windows Explorer:
- HKEY_CLASSES_ROOTDirectoryshell if you are administrator
- HKEY_CURRENT_USERSoftwareClassesdirectoryshell if you are a normal user
Context menu for any file:
- HKEY_CLASSES_ROOT*shell if you are administrator
- HKEY_CURRENT_USERSoftwareClasses*shell if you are a normal user
In all cases:
- add a new key under 'shell', naming it as you want to name thecontext menu item
- add a new key inside this key, named command (mandatory name)
- edit the 'default' property in 'command' tomyprogrampathpathpathexecutable.exe %1 to pass the file path andname of the selected file to your custom program
More customization:
- Add icon: adds a string value named
icon
for key created at step 1 with value matching an icon resource path. You can also provide an integer arguments to specify which icon to use. Example:%SystemRoot%System32shell32.dll,3
- Display only on shift-click: adds an empty string value named
Extended
for key created at step 1 - Customize menu entry label: change the value of default value for key created at step 1
- Change menu entry location: adds a string value named
Position
with one of:Top
,Bottom
I found the solution in the below article, which describes how to do this via the registry for files, as well as for folders:
The following two articles provided additional info and options:
ElanElan2,90488 gold badges5656 silver badges8282 bronze badges
I went back and also answered this in another topic since there doesn't appear to be much on this question specifically.
I found the simplest way was to add a String Value to the key called 'AppliesTo' and set its value to 'under:{path}'
In my example, I want it to only look in the T Drive, so my String value is 'AppliesTo':'under:T:'.
In C#, this is easily accomplished with the following:
Community♦
Bobby ByrnesBobby Byrnes
Found a cleaner, easier and faster solution: create a text file, fill it with these contents, update it to your needs, save with .reg suffix and launch it (it does not need administrator priviliges because it accesses user-part of the registry):
In this way you can also have a backup of your configuration: just save the .reg file in a safe place. If you manually edit the registry after launching the file, right-click and slect 'export'.
Beware of double backspaces in path:
Add Excel To Context Menu Windows 7
jumpjackjumpjack35411 gold badge66 silver badges1515 bronze badges
The only good solution I found a really working is : https://superuser.com/questions/1097054/shell-context-menu-registry-extension-doesnt-work-when-default-program-is-other
Add keys in HKEY_CLASSES_ROOTSystemFileAssociationsyour.extensionshellcommandModify the last key with the command you wanna do.
For my purpose it was :
If I export the it I get a .reg :
Dorian GrvDorian Grv