ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Change Folder Icon (https://www.excelbanter.com/excel-programming/297727-change-folder-icon.html)

James Stephens[_2_]

Change Folder Icon
 
Is there a way to change a folder Icon. This is not for a shortcut, but a folder. I have tried some of the code for I have for creating shortcuts, using the .IconLocation = , but nothing seems to work

Does anybody have any ideas

Thanks

Jim

Steve Yandl[_3_]

Change Folder Icon
 
I find it easiest to live with the standard folder icon and create a
shortcut to the folder with the icon I prefer. However, the solution is to
change the folder attributes to "system" and then create a text file inside
the folder named "desktop.ini". Inside this desktop.ini file, paste text
with the format:

[ExtShellFolderViews]
Default={5984FFE0-28D4-11CF-AE66-08002B2E1262}
{5984FFE0-28D4-11CF-AE66-08002B2E1262}={5984FFE0-28D4-11CF-AE66-08002B2E1262
}

[{5984FFE0-28D4-11CF-AE66-08002B2E1262}]
PersistMoniker=file://Folder.htt

[.ShellClassInfo]
ConfirmFileOp=0
NoSharing=1
IconFile=Folder.ico
IconIndex=0
InfoTip=Some informational text.The IconFile=Folder.ico should have the
correct relative path to the file containing the icon."James Stephens"
wrote in message
...
Is there a way to change a folder Icon. This is not for a shortcut, but a

folder. I have tried some of the code for I have for creating shortcuts,
using the .IconLocation = , but nothing seems to work.

Does anybody have any ideas,

Thanks,

Jim





All times are GMT +1. The time now is 09:24 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com