How to DIY your own U disk folder icon

Source: Internet
Author: User
Tags ini

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 ~

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.