Jump to content

desktop.ini customization


net_user

Recommended Posts

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

[.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....

[{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)

Edited by net_user
Link to comment
Share on other sites

  • 2 years later...

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.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...