Wednesday, August 28, 2013

Add Background Images to Folders in Windows

Suppose you have a music folder that contains all songs by your favorite singer. Would it not be great if instead of the plain white background, you could add the singer's image as the background of this folder? 

It is relatively easy to add background images to folders using a simple desktop.ini trick just as easily as you can change your Desktop's background. 

Desktop.ini is a system file that is used to customize the appearance and behavior of folders in Windows. We can use this ability of desktop.ini files to add backgrounds to folders just by adding a few lines of code. 

Folder Background in Windows
This is how the background in folder looks like.



Steps for adding backgrounds to Folders
  1. Open Notepad.
  2. Copy and paste the following code:-
  3. [{BE098140-A513-11D0-A3A4-00C04FD706EC}]
    iconarea_image="location of the image"
  4. You need to slightly modify this code on Windows Vista and Windows 7 as the ability to add folder backgrounds has been removed. So, if you use these versions of Windows, install AveFolder and then, replace [{BE098140-A513-11D0-A3A4-00C04FD706EC}] with [AveFolder] in the above code. To install this app, extract all the files and then, open the folder according to your installation of Windows (32 bit or 64 bit), right click install.bat and select Run as Administrator.
  5. In this code, iconarea_image is the parameter where the location of your image will go.
  6. Save the file as desktop.ini.
  7. Place this file in the folder where you want your personalized background.
  8. On Windows XP, you need to add system attribute to the folder where you want a background. To do this, open command prompt and execute "attrib +s D:\Music" (without quotes) if "D:\Music" is the location of your folder. If there are spaces in the location of your folder, you need add double quotes around it. Windows Vista and 7 users need not add system attribute to folders.
  9. You might need to log off and log back on for the changes to take effect. Sometimes, AveFolder app fails to work in which case you need to restart Windows Explorer. I recommend you tocreate a System Restore point in case you do not like the results.

You can hide this desktop.ini file if you feel that it is something that should not be visible in your folder.

Tip: I am using this trick to have a personal picture as the background of the root folder of my flash drive. So, whenever I connect it to my Windows PC, the picture is displayed as the background. You can also do this but you should have the image in the drive itself. As you cannot assign a static location to the iconarea_image parameter (as the drive could be G:/ on one computer while F:/ on the other), you need to add the image's dynamic location. To do this, add "/{location of the image in flash drive}" as the value of iconarea_image. For example, if your image is located in the Pics folder in the flash drive, you need to have this value as:-

iconarea_image=/Pics/Image.jpg

It is important to note that the background to your flash drive will only be displayed on computers running Windows XP (if you have used the code for XP) or those computers running Windows 7and Windows Vista that have AveFolder installed. Sadly, there is no way to make the background of your flash drive visible on all computers unless you modify your flash drive to automatically install this app on every PC you plug it in.

No comments:

Post a Comment