1.    20 Dec 2015 #1
    Join Date : Aug 2015
    Posts : 14
    Windows 7 x64

    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?
      My ComputerSystem Spec
  2.    20 Dec 2015 #2
    Join Date : Aug 2015
    Posts : 14
    Windows 7 x64
    Thread Starter

    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
      My ComputerSystem Spec

 


Similar Threads
Thread Forum
Solved I can't change folder icon to a custom one
I created a new folder on the desktop and I can't change its icon to a one I downloaded. selecting the icon from the stock list (shell32.dll) works fine though. I tried with another folder in different location, still no luck. however, when I...
Customization
Customization Change Folder Icon in Windows 10
How to Change Icon of a Folder in Windows 10 This tutorial will show you how to change the icon of a folder in File Explorer to any icon you like in Windows 10. When you change the icon of a folder, the folder will no longer show a thumbnail...
Tutorials
Automatically change the Folder Icon Thumbnails to Details
In my laptop, I was set the folder view in thumbnails, when I was open a folder and return to the original folder it was changed to detail view. I was attach the Screenshots to here.
General Support
Does Anyway To Change Start Menu Single Folder Icon Color?
Hello everyone. I wanna change single folder color on the start menu. Not all of them. For example check this screenshot i made it. Thanks. 32071
Customization
change folder icon does not work on win10
I tried changing icon on my desktop icons , when I right click on folder properties and then click on customize then change icon, then browse... I chose the icon I want that folder to look like, click ok apply - ok, the folder icon does not change,...
Customization
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 09:14.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums