0
I want to add a context menu option only for .js
files, so that I can open them with a software (like atom.exe, or node.exe)
Similar to this: howtogeek.com/add-open-with-notepad-to-the-context-menu-for-all-files but for particular files (.js
in my case) instead of all files.
I tried to do the same thing as described in the above howtogeek link on the registry key HKCL\.js\shell\...
(instead of on HKCL\*\shell\...
) but that didn't work.
How can I do that?
Do it in the
HKEY_CLASSES_ROOT\JSFile\shell
registry key instead ofHKEY_CLASSES_ROOT\.js\shell
. HereJSFile
is data of default value of theHKEY_CLASSES_ROOT\.js
registry key. – JosefZ – 2014-12-05T11:16:29.223@JosefZ Hmm didn't work for me. On closer looks, it doesn't even seem to have any other options that I do have on my .js files' context menu (like "open with sublime text"..) – laggingreflex – 2014-12-05T14:38:55.553
Which Windows version? This article could help: How to Add Any Application Shortcut to Windows Explorer’s Context Menu.
– JosefZ – 2014-12-05T20:48:23.740@JosefZ I'm on windows 8. Not sure why this isn't working for me. I even changed the existing option of "edit" but the change didn't take place. http://i.imgur.com/pcC70NF.png It seems my JSFile registry key is somehow detached from my .js files' context menu options. And yes, I've even tried restarting the the system.
– laggingreflex – 2014-12-05T22:21:45.220