Help - Search - Members - Calendar
Full Version: desktop.ini customization
MSFN Forums > Customizing Windows and Graphics > Customizing Windows

   
Google Internet Forums Unattended CD/DVD Guide
net_user
i'm trying to create wallpaper for my folders...
i have done this in the past...but forgot how to do this...and wanted to run this by u all....

i have a desktop.ini file along with my bitmap in the folder....
i have given the desktop.ini a system attribute

here is my code in the desktop.ini
CODE
[.ShellClassInfo]
IconArea_Image=.\Wallpaper1.bmp
IconArea_Text=0x00808080

am i missing something?


update
i have restored a desktop.ini from backup that i know worked....
CODE
[{BE098140-A513-11D0-A3A4-00C04FD706EC}]
Attributes=1
IconArea_Image=.\background.jpg
IconArea_Text=0x00808080


still no worky
(i know the "IconArea_Image" are different....i have both those files in that directory)
eladkarako
although this post is back from 2006, it is common question.

using desktop.ini can be very easy way to custom folder,
but the first step is making windows create a desktop.ini file for you (create manually will not work):

right click a folder.
choose 'properties'.
go to 'customize' tab.
click 'change icon'.
select any icon, it has no meaning for us right now.. click OK in the icon selection dialog.
click OK in the properties dialog.

dbl. click the folder. make sure hidden files and system files are visible (look into folder options in control-panel).
depending hidden files are visible you now able to see a file named desktop.ini
dbl. click (open it), the inner format is something like that:

[.ShellClassInfo]
IconFile=%SystemRoot%\system32\SHELL32.dll
IconIndex=9

this content is not important, press CTRL+A to select everything and DELETE, so the file will be empty.

copy paste this to the empty file:

[{BE098140-A513-11D0-A3A4-00C04FD706EC}]
Attributes=1
IconArea_Image=.\Untitled.gif
IconArea_Text=0x00000000

note to change the .\Untitled.gif to something actually exist in your folder (could be sub folders or any other location too...).
gif files are recommended cause there are quite slim, and lightweight. jpg, bmp work very well too, but not so recommended.

the last line informs explorer what should the text color would be, this is hex color value- 0x0 is black, 0x000000FF is red, 0x00FF0000 is blue,
0x0000FF00 is green


the new background and colors will be updated when ever you close and reopen the folder.

Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.