Windows 10: Change folder icon

Discus and support Change folder icon in Windows 10 Customization to solve the problem; Hi, I wrote a batch script to set a custom icon to folders: ECHO [.ShellClassInfo]>%1\desktop.in_ ECHO... Discussion in 'Windows 10 Customization' started by Leandro, Dec 19, 2015.

  1. Leandro Win User

    Change folder icon


    Hi,
    I wrote a batch script to set a custom icon to folders:

    ECHO [.ShellClassInfo]>%1\desktop.in_
    ECHO IconResource=C:\Windows\system32\imageres.dll,22>>%1\desktop.in_
    move %1\desktop.in_ %1\desktop.ini
    attrib +S +H %1\desktop.ini


    The desktop.ini it produces is identical to the one when doing the process manualy:

    [.ShellClassInfo]
    IconResource=C:\Windows\system32\imageres.dll,22

    But it doesn't work. It only works if I set the folder icon manually.
    Anyone?

    :)
     
    Leandro, Dec 19, 2015
    #1

  2. Change Folder icons

    yse but I want to set custom icons but don't want to lose thumbnails....so is it possible?
     
    Mitul gajjar, Dec 19, 2015
    #2
  3. Change Folder icons

    When you change the icon, it will read the new icon image and they won't be any thumbnails. However, if you change icon and back to default icon, you may still see old thumbnails.
     
    Cyber_Defend_Team, Dec 19, 2015
    #3
  4. Leandro Win User

    Change folder icon

    Found the solution:

    the folder must be ReadOnly:

    ECHO [.ShellClassInfo]>%1\desktop.in_
    ECHO IconResource=C:\Windows\system32\imageres.dll,22>>%1\desktop.in_
    move %1\desktop.in_ %1\desktop.ini
    attrib +S +H %1\desktop.ini
    attrib +R %1
     
    Leandro, Dec 19, 2015
    #4
Thema:

Change folder icon

Loading...
  1. Change folder icon - Similar Threads - Change folder icon

  2. Change Back Icons of Folders

    in Windows 10 Gaming
    Change Back Icons of Folders: I accidentally moved my downloads folder and when I moved it back, the icon changed to one that is of the default folder.Does anyone know how to change the icon of the folder back to that of green download folder?Here is a picture of my home folder, and there you can see how...
  3. Change Back Icons of Folders

    in Windows 10 Software and Apps
    Change Back Icons of Folders: I accidentally moved my downloads folder and when I moved it back, the icon changed to one that is of the default folder.Does anyone know how to change the icon of the folder back to that of green download folder?Here is a picture of my home folder, and there you can see how...
  4. Desktop Folder Icons Changed

    in Windows 10 Software and Apps
    Desktop Folder Icons Changed: Hi. I read a few complaints that the Folder Icons on W11 stay open when they should not. Here is my solution if you want to keep them closed.Go to Personalization, Themes, Scroll to Desktop Item Settings. Uncheck Allow Themes to change Desktop Item. Then create a New Folder,...
  5. Change Icon in Folder

    in Windows 10 Gaming
    Change Icon in Folder: Hello everyone, recently I tried moving my videos folder to another drive and that ended up changing the icon of that drive, when I try to change it back it doesn't give me the option to change it, can anyone help me? I am on Windows 11. Thanks*** Moved from Spanish Forum ***...
  6. Change Icon in Folder

    in Windows 10 Software and Apps
    Change Icon in Folder: Hello everyone, recently I tried moving my videos folder to another drive and that ended up changing the icon of that drive, when I try to change it back it doesn't give me the option to change it, can anyone help me? I am on Windows 11. Thanks*** Moved from Spanish Forum ***...
  7. Can't change folder icon.

    in Windows 10 Ask Insider
    Can't change folder icon.: In every tutorial it says to change the folder icon I have to go to properties>customize>change icon>browse>ok>ok I do that and then it just doesn't change. Yes, I used a .ioc file. Edit: forgot to mention, it works if I use the default icons. Please help if you know...
  8. Can't change folder icon

    in Windows 10 Network and Sharing
    Can't change folder icon: I'm trying to change the icon for one of my quick access folders, but every time I choose my icon and click OK the icon doesn't change. I've tried restarting, doesn't work. Changing other folder icons seems to work fine, it's just this one that won't change for some reason....
  9. Change "New Folder" Icon

    in Windows 10 Customization
    Change "New Folder" Icon: Hello, i would like to know if it's possible to change the icon of the default yellow folder on windows 10. I know that after you create a new folder you can go to propreties and change it, but my question is if you can change the default icon to your own icon and be able to...
  10. Can't change folder icon

    in Windows 10 Customization
    Can't change folder icon: [ATTACH] This is the problem I'm having. I want to change all these icons but I can't. The box is greyed out and I have no found any forum post of youtube video with this issue. Please help....