I'm trying to add CSS, PHP, JS and HTML file types to the "New" right click menu in Windows 7. I know how to add the file types to the menu with ShellNew entries in the registry. But Windows doesn't give you any control over the display names of the new items - according to this the name's always taken from whatever application you've assigned to open the doc. I've set Notepad++ to open all of these file types, so I'm going to end up with several identical "Notepad++ document" entries in the menu, like this:
Does anybody know if there's a way out of this stupid situation without installing any tweak utilities?
Thanks all! Fred
To rename a context menu > new's item (in Windows 7, at least):
HKEY_CLASSES_ROOT\.%ext%
and note the (Default)
value. This is the file extension's ProdID.HKEY_CLASSES_ROOT\%ProdID%
(usually %ext%file
) using the value obtained from step two. Set the (Default)
value to whatever you would like the context menu new item to display as.HKEY_CLASSES_ROOT\%ProdID%
, if there is a FriendlyTypeName
value, rename it to FriendlyTypeName.old
, as the (Default)
value "is deprecated by the FriendlyTypeName entry"I don't believe there is even a need to log out / restart, but if the changes don't take effect, log out and/or restart.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With