Page 1 of 1

When can I use program's short name for icon

Posted: 16 Mar 2015 18:26
by binocular222

Code: Select all

"Menu|Notepad" msg Hi //Notepad icon
"Menu|IExplore" msg Hi //IE icon
"Menu|Outlook" msg Hi //invalid icon although at %programfiles% as IExplore
"Menu|dxdiag" msg Hi //invalid icon although at the same location as Notepad -  %winsysnative%

Re: When can I use program's short name for icon

Posted: 16 Mar 2015 18:39
by admin
It's the ProgID.

If the below registry path returns a valid file system path, you will get an icon (replace <ProgID>):

HKEY_CLASSES_ROOT\Applications\<ProgID>.exe\shell\open\command\(Standard)