- I want to set up a script, where the base executable is the interpreter, to be selected in the Open With dialog.
- I already know the information in this question: How do you add a non-program-files application to the OpenWith dialog box?
- And I know the
FriendlyName
in theApplications/interpreter.exe/shell/open
key trick to give it a better name.
Are there other custom registry settings for the Open With items?
What I'm wondering is if I can use the registry to give a custom icon instead of using the interpreters icon?
Responding to the request to dump a registry key, here it is (anonymized):
C:\>reg query "HKCR\Applications\scriptapp.exe" /s
HKEY_CLASSES_ROOT\Applications\scriptapp.exe
(Default) REG_SZ ScriptApp
HKEY_CLASSES_ROOT\Applications\scriptapp.exe\DefaultIcon
(Default) REG_EXPAND_SZ C:\Util\icos.dll,1
HKEY_CLASSES_ROOT\Applications\scriptapp.exe\shell
HKEY_CLASSES_ROOT\Applications\scriptapp.exe\shell\open
DefaultIcon REG_SZ C:\Util\icos.dll,1
FriendlyAppName REG_SZ ScriptApp
HKEY_CLASSES_ROOT\Applications\scriptapp.exe\shell\open\command
(Default) REG_SZ "C:\Util\strawberry\perl\bin\wperl.exe" "c:\Util\Scripts\launch_master.pl"
DefaultIcon
as explained in the following article? Application Registration