Windows 10: Change folder icon Solved


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

    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. Posts : 14
    Windows 7 x64
       20 Dec 2015 #2

    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


 

Related Threads
Customization Change Folder Icon in Windows 10 in Tutorials
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...
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...
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.
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
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,...
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 16:06.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums