I don't know if this will apply in this case, but I
have numerous Open With subkeys and they show up
alphabetically.
Is the filetype new, something you created?
If so, get FileTypesMan from Nirsoft
Hello all,
I've just added an icon for a certain filetype to the registry as well as a 'special action' for in its context menu.
The problem is that this single 'special action' is also regarded as the default action, meaning it gets executed when double-clicking the file. :-(
Other than adding another context menu entry (like "open", which than
becomes the default one), is there a way to tell Windows to /not/ automatically take my single 'special action' as also being the default one (adding a special value to the key perhaps) ?
Regards,
Rudy Wieser
is there a way to tell Windows to /not/ automatically take my single
'special action' as also being the default one
I don't understand whythis matters.
Are you hanging around the keyboard again?
I don't remember EVER using a default menu item
and wouldn't know how to do it.
David,
Is the filetype new, something you created?
Yes. For the purpose of the icon and the single context-menu action.
If so, get FileTypesMan from Nirsoft
Thank you for that suggestion, but I'm rather old-school and would like to
be able to make those changes manually (with the aid of RegEdit). I'm also no fanboy of installing random software.
If you have that software installed, could you perhaps make such a change
and check what the changes are ?
Regards,
Rudy Wieser
My question:
is there a way to tell Windows to /not/ automatically take my single
'special action' as also being the default one
Some more googeling and having been lucky enough to have used the "correct" combination of search words gave me a page with the answer :
https://docs.microsoft.com/en-us/windows/win32/shell/context-menu-handlers
It mentions how you can select the default item by putting it into the "(Default)" value of the "Shell" key. My entering an empty string ("") caused the desired effect.
Simple, but you have to know about it. :-)
Regards,
Rudy Wieser
I avoid making changes in my Windows registry whenever an
alternative (e.g., FileTypesMan) is available.
Ah, I see. Learn something new every day. I just
assumed double-click always meant open.
So you want to be able to double click your new file
type and have nothing happen. Makes sense now. :)
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 475 |
Nodes: | 16 (2 / 14) |
Uptime: | 21:19:50 |
Calls: | 9,488 |
Calls today: | 7 |
Files: | 13,617 |
Messages: | 6,121,094 |