- Open registry path
HKEY_CLASSES_ROOT\Directory\shell\
- Right click on
shell
and selectNew > Key
- Type in name of action (can be anything)
- Right Click on your new Key and add another new Key
- Name new Key
command
(mandantory) - Click on command and right click on
(Default)
, then click Modify… - Set Value Data to your Intellij IDEA program location plus
%1
- e.g:
"C:\Program Files\JetBrains\IntelliJ IDEA 2021.2.1\bin\idea64.exe" "%V"
- e.g:
- Click on the Key you made in step 3 and set
(Default)
value to the text you want to see - Go to your folder and Enjoy!
- Also, if you want an icon, do this:
- Go to the Key you made in step 3
- Right Click and choose
New > String Value
- Name it
Icon
(mandantory) - Right Click > Modify…
- Set Data Value to Intellij IDEA exe file
Sources:
Related:
Registry - Read and write to the registry
Tags:
Windows