Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


Sign in to follow this  
Soukyuu

Explorer ignoring folder icons set with desktop.ini

Recommended Posts

I'm having weird problems with folder icons.

Desktop.ini contains the following:

[.ShellClassInfo]IconResource=c41af100-6b25-4a2d-91ac-815a04daf3ea.ico,0
The corresponding icon is present in the folder - but the folder icon stays default. The funny thing is, setting the icon with a program (folderhighlight) works, copying the folder anywhere keeps the icon as expected. However, copying the working set of desktop.ini+.ico to another folder doesn't make it display the icon.

What am I missing? I tried clearing iconcache.db in my appdata and rebooting, but no change.

edit: I really hate it when I find the answer right after asking for help...

As stated here, you have to set attrib +s foldername for any folder you want the desktop.ini to work with.

edit2: Actually, attrib +r foldername is enough. Interesting requirement.

Edited by Soukyuu

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...