Sunday, June 19, 2011

customize folder using Desktop.ini

Desktop.ini is the feature of Windows Xp. It is used to customize folder.


Desktop.ini allows
       - change folder background
       -change tool tip text display on folder
       - change folder icon
       -change subdirectory and file's text color
     

Sample Desktop.ini file

[.ShellClassInfo]
IconFile=2.ico 
;icon name 
IconIndex=0       
;icon index incase of dll or exe
Logo=test.bmp   
;icon index in case of dll or exe
InfoTip="Parekh's tooltip folder"  
;tooltip for the folder 

[{BE098140-A513-11D0-A3A4-00C04FD706EC}]
Attributes=1 
iconarea_image=s2.jpg              
 ;folder background 
IconArea_Text=0xFFFFFFFF  
;file text color 



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
put above Desktop.ini file in destination folder


now make both file and folder as system file.


start->run->cmd


    on dos prompt write c:>attrib +s +h destinationfolderpath\Desktop.ini
                                    F:\>attrib +s destinationfolderpath
this will change folder background and icon.