Author Topic: Custom Icons For File Extensions Not Working !  (Read 1288 times)

total_annihilation00

  • Active Member
  • ***
  • Posts: 53
  • Tech Savant\ Envisioneering
    • View Profile
Custom Icons For File Extensions Not Working !
« on: November 23, 2024, 11:56:11 »
I tried adding Custom Icons (via Configuration menu > File Type Setup > Icons) for .txt .ahk .ini .pdf (they're .ico files), but it's not showing these new updated icon entries ! Even tried closing & relaunching MC. Is it working for anyone else ? Also wondered if you could make custom icons for Folders as well ?! I'am guessing not...
~The World's Deceit Has Raped My Soul, We Melt The Plastic People Down Then We Melt Their Plastic Town~


Jungle

  • Contributor
  • VIP Member
  • *****
  • Posts: 550
  • Old Skull
    • View Profile
Re: Custom Icons For File Extensions Not Working !
« Reply #1 on: November 23, 2024, 12:25:10 »
Yes, it works. Folder icons can be chaged via desktop.ini files.
P.S. But MC doesn't seem to respect desktop.ini settings
« Last Edit: November 23, 2024, 12:39:51 by Jungle »

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4450
    • View Profile
    • Multi Commander
Re: Custom Icons For File Extensions Not Working !
« Reply #2 on: November 23, 2024, 13:15:09 »
MC get folder icon from Windows.. And Windows should return the icon from the desktop.ini file.. However Windows sometimes cache the icon and you might need to refresh the Windows icon cache.

Jungle

  • Contributor
  • VIP Member
  • *****
  • Posts: 550
  • Old Skull
    • View Profile
Re: Custom Icons For File Extensions Not Working !
« Reply #3 on: November 23, 2024, 15:17:06 »
@Mathias, yes, I apologize. It also works.
P.S. But after changing desktop.ini MC has to be restarted, refreshing Explorer panel is not enough.
« Last Edit: November 23, 2024, 15:34:27 by Jungle »

total_annihilation00

  • Active Member
  • ***
  • Posts: 53
  • Tech Savant\ Envisioneering
    • View Profile
Re: Custom Icons For File Extensions Not Working !
« Reply #4 on: November 23, 2024, 18:01:02 »
AH, I will try getting it to work after a Windowz restart —otherwise I'll give up on it, as it's not visibly an instant change…  :D
« Last Edit: November 23, 2024, 19:24:20 by total_annihilation00 »
~The World's Deceit Has Raped My Soul, We Melt The Plastic People Down Then We Melt Their Plastic Town~


Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4450
    • View Profile
    • Multi Commander
Re: Custom Icons For File Extensions Not Working !
« Reply #5 on: November 24, 2024, 22:41:50 »
if you go to
C:\Users\<username>
You see that a lot of folder has none default icon. This are from desktop.ini inside the folder that Windows pick up.

Also the folder must have the "+r" (readonly) attribute set. else Window will not look for the desktop.ini  (Atleast in windows 7.. Have not checked if that is still so in 10/11, But all the folders with icons in the C:\users\<username> folder has +r in Win10/11 for me )



total_annihilation00

  • Active Member
  • ***
  • Posts: 53
  • Tech Savant\ Envisioneering
    • View Profile
Re: Custom Icons For File Extensions Not Working !
« Reply #6 on: November 25, 2024, 02:17:40 »
Oh iyc, thank you —I will look into it… 👍
~The World's Deceit Has Raped My Soul, We Melt The Plastic People Down Then We Melt Their Plastic Town~