Sign in to follow this  

windows registry script question :)

This topic is 4306 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I thought this would be a no brainer but I can't get it to work; What I'm trying to do is let a user select an entry from the context menu in windows file explorer. This part works but the icon doesn't appear. WinRAR etc. do have icons though, how do they make it work? Do I need to use COM Interfaces and all that? I'd rather not. Thanks!
REGEDIT4
[HKEY_CLASSES_ROOT\*\shell\update\DefaultIcon]
@="\"C:\\development\\update.exe,0\""
[HKEY_CLASSES_ROOT\*\shell\update\Command]
@="\"C:\\development\\update.exe\" \"%1\""

Share this post


Link to post
Share on other sites
Ok, looks like "DefaultIcon" is the icon associated to all files of that type throughout the system, not the icon that is displayed in the context menu.

Any hints how to put an icon into the context menu (without using COM or ATL or whatever such shell extensions are) much appreciated.

Share this post


Link to post
Share on other sites

This topic is 4306 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this