The custom Folder/Mobile Disk folder icon does not change with the computer

Source: Internet
Author: User

The custom Folder/Mobile Disk folder icon does not change with the computer

I just started with an elements mobile hard drive for Western Digital.
Www.2cto.com

As it is used for mobile storage and partitions are unnecessary, several more folders are created...

In order to better differentiate purposes, we define icons for each folder (the system comes with ancient traversal...), and the custom icons are also saved on the mobile hard disk.
But there is a problem, that is, after changing the computer, there will be no icon
The reason is that after changing the computer, the drive letter of the mobile hard disk has changed. It turns out to be an H disk and may be a G disk. The path of the natural icon becomes invalid.
With this in mind, the solution will come out: you only need to change the absolute path to the relative path.
The procedure is as follows:
1. Prepare the icon and set the custom icon
My icon folder (I added it to hide the protected system file attributes, so that this folder can be completely hidden to prevent accidental deletion)

Then set the folder custom icon

Next, we will display the system file containing the custom icon.

This issue will jump out of the system warning. Point is, we will change it back when we finish our work, without affecting security.
2. Modify the icon storage path
After completing the previous step, open the folder with the modified icon, and you will find that there is a desktop. ini in it, and open it with notepad (any text code editor can ).

Open desktop. ini and you will find the following code:
[. ShellClassInfo]
IconResource = here is the drive letter: \ autorun \ 6.ico, 0
[ViewState]
Mode =
Vid =
FolderType = Pictures change the following part to the drive letter. Yes, it is two vertices. Baidu is recommended for relative paths.
3. If everything goes well, your folder icon has been successfully modified. It won't change even if you change the computer (only used in the window operating system)
However, you have many more files in the resource manager.
To hide these system folders, you need to check the hidden system-protected file and click OK. Now it's much easier !!!

 
Now we should be using Windows 7 or win8 OS. We are still using kids shoes, so we don't care about them...
1. Call up the command prompt and run it as an administrator.
How to call up, such as pressing WIN key and R key at the same time

Enter
<Strong> <span style = "font-size: 18px; font-family:; color: # ffffff; background-color: # ff6600; "> cmd </span> </strong> then the hacker jumps out of a black box that is not found in the mysterious magic horse. (It is said that hackers use this box, and I will not tell him this box)

Enter the command runas/user: Your computer user name cmd
Note: For example, you can use Runas to obtain the Administrator permission in an environment where the account name Kein is currently used as the user permission: (if you have to set a password for the Account Kein, You can first set one if you do not have one, click "cancel".) Enter "ruans/user: Kein cmd" and press enter (Note: Do not enter spaces before the second slash). Then, run the command prompt, enter the password, and press Enter, the path of the command prompt title has changed! Indicates that the runas command is successful...
Alternatively, right-click the command prompt and run it as an administrator.
Is an example of WIN8
Ii. Set File System Protection attributes
Enter the following command at the command prompt (excluding the comments)
Attrib + s + h J: \ My Documents ents note: the path indicates that the My Documents folder is on disk J.
Press enter and view the folder properties. The hidden properties become grayed out.

This means that when you check the options, your folder is invisible.

 

Related Article

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.