Your cart is currently empty!
How to Add Custom Shortcuts to the Windows 11 or 10 Context Menu
The Windows right-click context menu is where you access quick actions on files and folders. But what if you could make it work exactly the way you want? Imagine right-clicking and instantly launching your favorite app or custom script. Here’s how to add your own shortcuts to the Windows 11 or 10 context menu—no third-party bloat, just simple tweaks.
Why Add Custom Shortcuts?
- Save time on repetitive tasks
- Launch apps or scripts directly from any folder
- Organize your workflow to match how you actually use your PC
Method 1: Add a Shortcut to the Context Menu for All Files/Folders
This method involves a small Registry tweak. Don’t worry, it’s straightforward if you follow the steps.
1. Open Registry Editor
- Press
Win + R
, typeregedit
, and press Enter. - Click “Yes” if prompted by User Account Control.
2. Navigate to the Right Key
For adding an item to the context menu for folders:
HKEY_CLASSES_ROOT\Directory\Background\shell
For files:
HKEY_CLASSES_ROOT\*\shell
3. Create a New Key for Your Shortcut
- Right-click the
shell
folder. - Select New > Key.
- Name it whatever you want the menu item to display (e.g.,
Open with Notepad++
).
4. Add the Command
- Right-click your new key, select New > Key, and name it
command
. - Double-click the (Default) value in the right pane of
command
. - Enter the full path to the program or script you want to run.
Example:"C:\Program Files\Notepad++\notepad++.exe" "%1"
The"%1"
makes the app open the selected file.
5. Done! Test Your New Shortcut
Right-click a file or folder and see your custom shortcut in the context menu. Click it to run your app or script.
Method 2: Add a Custom Context Menu Item Using a .REG File
If you want to make this even faster or share it, you can create a .reg
file:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\Open with My Script]
@="Open with My Script"
[HKEY_CLASSES_ROOT\*\shell\Open with My Script\command]
@="\"C:\\Path\\To\\yourscript.bat\" \"%1\""
- Edit the paths and names as needed.
- Save as
add-context-menu.reg
and double-click to merge.
Notes & Tips
- Be careful editing the Registry. Backup first: File > Export.
- To remove a shortcut, just delete its key in the Registry.
- This works for .exe files, batch scripts, PowerShell scripts, or any app.
- Using Windows 11 and want the classic right-click menu back? Check out this step-by-step guide:
How to bring back classic context menu on Windows 11
Final Thoughts
Customizing your Windows context menu can shave seconds off routine tasks and keep your workflow sharp. With a little care, you can make Windows work for you, not the other way around.
Got your own tips or customizations? Share them in the comments!
Tech enthusiast and content creator passionate about making technology simple for everyone. I share practical tips, guides, and reviews on the latest in computers, software, and gadgets. Let’s explore the digital world together!