Customised Folder
-
- Always Here
- Posts: 6425
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Customised Folder
In Windows, the User can replace the default folder icon (of an individual folder) with a custom image. Can we do that programmatically?
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
- Fangbeast
- PureBasic Protozoa
- Posts: 4749
- Joined: Fri Apr 25, 2003 3:08 pm
- Location: Not Sydney!!! (Bad water, no goats)
Re: Customised Folder
Have a look at the system file "Desktop.ini" that might be in a directory. It usually appears when a folder has been customised.IdeasVacuum wrote:In Windows, the User can replace the default folder icon (of an individual folder) with a custom image. Can we do that programmatically?
I manually changed a folder icon to see what would happen and it looks like this:
Code: Select all
[LocalizedFileNames]
_AddAddressPhoto.pbi=@_AddAddressPhoto.pbi,0
[.ShellClassInfo]
IconResource=D:\bangf\Development\Dev-Current\BFC\Images\book.ico,0
[ViewState]
Mode=
Vid=
FolderType=Generic
Code: Select all
[LocalizedFileNames]
_AddAddressPhoto.pbi=@_AddAddressPhoto.pbi,0
This reference may help:
https://www.thewindowsclub.com/desktop-ini-file-windows
Amateur Radio, D-STAR/VK3HAF
-
- Always Here
- Posts: 6425
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: Customised Folder
Thanks Fangbeast, really good detective work. Actually, if I customise a folder on my PC, I can experiment by copying the resultant .ini and see what happens if I just place it into a different folder
Edit: https://www.thewindowsclub.com/desktop-ini-file-windows
That's a very nice site, a good description of the Desktop.ini file.
Edit: https://www.thewindowsclub.com/desktop-ini-file-windows
That's a very nice site, a good description of the Desktop.ini file.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
- Fangbeast
- PureBasic Protozoa
- Posts: 4749
- Joined: Fri Apr 25, 2003 3:08 pm
- Location: Not Sydney!!! (Bad water, no goats)
Re: Customised Folder
Just call me Shylock Bones:):)Thanks Fangbeast, really good detective work.
Amateur Radio, D-STAR/VK3HAF