Yeah, I did that, but it changes only the default icons. (As you can see, it worked for .rtf). But most of the time, the icons I add in the registry are overridden by the default app icon (in the example, Sublime, Edge or WordPad). I can change the app icon but it is used for all the different extensions that app opens, so that doesn't work either (unless I get a different app for every file type, but that would be absurd). Is there a way the tell Windows to NOT use the associated app icon and keep using the DefaultIcon for files?
ie. in HKEY_CLASSES_ROOT for .css I have the default set to CSSfile and Default Icon to my custom CSS.ico
I also have the CSSfile Default set the that same icon, something like this:
(Default) = CSSFile
(Default) = CSS.ico CSSFile
(Default) = CSS.icoAnd yet the displayed icon is still the Sublime icon. BTW there is no mention of Sublime in the registry entries of .css or CSSFile.