How to bind custom actions on folder via context menu on Windows

This is handy if someone wants to bind some software (or even link) without installing it..

Let’s assume you’re trying to add Software 1 located in a specific directory with context menu title: “My Software”.

Create a new file my_context_menu.reg file and put the next code:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\My Software]
@="Open with My Software"
"icon"="\"C:\Custom\Path\my_soft.exe\""

[HKEY_CLASSES_ROOT\Directory\shell\PHP Storm\command]
@="\"C:\Custom\Path\my_soft.exe\" \"%1\""

Open/Run the file (Administrator privileges required)

Leave a Reply