[Question] What registry entries controls the file associations icons?

Question is in the topic...

#264304

That would be everything under: HKEY_CLASSES_ROOT

:D, You're welcome.

-Jimmy S

#264334

Oops, misread the topic name, never mind *sigh* *walks away saying idiot, I'm such an idiot*

-Jimmy S

#264335

It's not really all that complex. Basically, what you have is under HKEY_CLASSES_ROOT a key for each extension (i.e. .jpg, .gif, and so on). Each of those is associated with a File type (i.e. jpegfile) via the default value in the key. The file type is also stored as a key under HKEY_CLASSES_ROOT. Under the file type key, you'll find a DefaultIcon key, whose default value contains the path to the icon for the type.

I have a small application I wrote to quickly change icons associated to file types en masse, in case anyone is interested in seeing it in code...

#264352

It's not really all that complex. Basically, what you have is under HKEY_CLASSES_ROOT a key for each extension (i.e. .jpg, .gif, and so on). Each of those is associated with a File type (i.e. jpegfile) via the default value in the key. The file type is also stored as a key under HKEY_CLASSES_ROOT. Under the file type key, you'll find a DefaultIcon key, whose default value contains the path to the icon for the type.

I have a small application I wrote to quickly change icons associated to file types en masse, in case anyone is interested in seeing it in code...

I'm interested in seeing it since I'm thinking of writing my own app because Iconpackager sucks to change icons :P

#264407

yes i want this application too

#264436

Anyone interested can download my existing copy from http://www.winterdom.com/temp/FileTypeIconSet_0.1.zip. It's a C# (.NET) application; source code included.

Basically the idea is this:

You create an "Icon Set" for file types by putting a bunch of .ico files on a folder (you can use subfolders, if you like, as the tool will walk them recursively). Each .ICO should be named after a file extension or a file type. So, for example, you could have JPG.ICO, DLL.ICO, JPGFILE.ICO and so on.

It also has an "advanced mode" where you can change icon by icon, although it currently has a few bugs I haven't had the time to fix.

Hope anyone finds it useful....

#264863