DEV Community

Jochem Stoel
Jochem Stoel

Posted on

In Windows (10), where are the explorer folder icon settings located?

Hi. Some of my folders have a custom .ico file as their thumbnail. (right click, properties, customize)

Where exactly are these settings located? Are they in the registry?

When I rename a folder, I have to set the icon again so I guess the full path is stored somewhere.

Discussion (5)

Collapse
nektro profile image
Meghan (she/her)

They are stored in a hidden desktop.ini file stored inside the folder you changed the icon of.

Collapse
jochemstoel profile image
Jochem Stoel Author

Thanks man. Can you happen to elaborate on the other values stored in desktop.ini?

Collapse
nektro profile image
Meghan (she/her)

It's mostly just a hidden config file for folder on Windows. Some of the values stored are the location of the DLL or EXE that stores the icon, as well as the index the icon is located in inside the file.

Thread Thread
jochemstoel profile image
Jochem Stoel Author

Yes, duh. I mean do you know what each of these values is for?

Collapse
sake_92 profile image
Sakib Hadžiavdić

I don't get that behaviour, the icon stays... :D