U disk folder icon is always so several, I believe a lot of friends must be tired of, want to personalize their own U disk folder icon, and these custom icons will not be changed with the folder and changed or invalid. It seems to be a very difficult task to complete, but follow the small weave together to operate, you will find DIY their own U disk folder icon is not difficult.
1, first, find the folder you want to modify the icon, such as the following image:
2, and then find you want to change that folder to the icon file, can be an ICO file, can also be an icon with the EXE file, such as the following figure, put it in the folder you want to modify the icon.
3, pull up the properties of the folder, switch to the "Custom" tab, as shown in the figure:
4, click the "Change Icon (I) ...", and then choose a random icon, click "OK", as shown:
5, then find the directory generated by the Desktop.ini file, open it (the user can not find to refresh, and this is a hidden system files, do not know how to display the hidden system files of the user click the Address bar of the folder, the end of the path on behalf of the folder to add "Desktop.ini" (not including quotes) and press ENTER to open the Desktop.ini file).
6, find a line of words: iconresource=xxxxxxx, this line of words is to set the command of the icon, will be followed by the text of the sign you want to set the location of the icon (to be placed in the folder), such as the following figure, remember the last to add an English half-width comma and 0, and then add two lines of statements, respectively, " Iconfile= "and" iconindex= "," iconfile= "where you set the icon file location (also put in the folder), and finally do not add commas and 0, but to" iconindex= "after" write 0 "; 0 means to use the icon you set (icon group The 1th icon in the file can be changed as needed.
7, why to add "iconfile=" and "iconindex=", because the nt.5.x system (such as XP) is to use these two statements to set the folder icon, and nt.6.x is the "iconresource=" this statement to set the folder icon, So for your folder to both systems can be normal display, or write them up!
8, icon file is not necessarily an ICO file, exe, DLL file can also, as long as there is included in the Windows read out of the icon can be, as shown:
9, so your folder can follow your USB drive everywhere without the problem of the icon invalidation ~