Icons for use as 10-Introduction to multi-function system-level icons

Source: Internet
Author: User
Computers have been used for a long time, Program When the installation is too large, the icons on the desktop will accumulate a lot. Disorganized desktops are disturbing, which can lead to a great waste of system resources. In the face of this situation, users generally have two ways to deal with it: first, reduce the use of desktop icons as much as possible. When accessing a program, double-click the program file in the folder, which is too cumbersome; second, in order to optimize the system, install some tool software known as the optimization system. The disadvantage is that the problem of resource occupation may not be solved, but it occupies too much resources. In fact, you can have a practical and environmentally friendly multi-functional desktop without tedious operations and redundant configuration. All of these are implemented in an unremarkable desktop icon (see figure 1 ).

I. Three steps to establish a framework
Open Registry Editor, locate [hkey_classes _ Root \ CLSID], and create the subitem "{00000000-0000-0000-0000-000000000000}" under it (this value can be customized, but it must comply with the naming rules of the Class Identifier, and the item values under the same sub-key are different, excluding double quotation marks, the same below), and) "is set to the name of the desktop icon to be defined, such as" full one-click ". In addition, you can create a string key value" infotip "in the right pane ", the value is defined as the description text to be displayed when the mouse points to the icon, such as "description text: contains Winamp, Master optimization, Kingsoft, and other programs and links to various system directories ......". Next, complete the following operations under the primary key of [hkey_classes_root \ CLSID \ {00000000-0000-0000-0000-000000000000.
Tips
Because there are many branches under CLSID, they will be "lost" accidentally and cannot find the current location. Therefore, we recommend that you select {00000000-0000-0000-0000} now }, click "favorites> Add to Favorites" to save it.
Create the subitem defaulticon. In the right pane, change the value of "(default)" to the ICO icon path of the desktop icon to be displayed or the built-in icon of the "shell32.dll" file, for example: e: \ photo \ desk. ICO.
Create a new subitem named "inprocserver32", change the value of "(default)" to "shell32.dll" in the right pane, and then create a string value named "threadingmodel, set the value to "apartment ".
Create the subitem "shell" and create another subitem "XXX" under it. Create the subitem "command" under it. Replace the specific word "XXX", for example, "open", "click hear", and "Master optimization" determine the order of the link content in the right-click menu of the desktop icon. Next, open the created sub-item "XXX" and change the "(default)" value in the right pane to the link text to be displayed in the right-click menu of the desktop icon in the corresponding program or system directory, for example, "my browser ". Open the created subitem "command" and change the "(default)" value to the complete path of the corresponding program or system directory in the right pane, such as "C: \ Program Files \ Internet Explorer \ ipolice.exe ".
Tips
To open a directory path with IE, you must write "Explorer/root, X: \" ("X" should be replaced with a hard drive letter.

2. Add more functions
Now, the desktop icon has the most basic functions (see figure 2 ). But at first glance, the right-click menu only lists the corresponding link text and "Create a shortcut", which is very simple. What should I do? You can selectively continue to add the following two steps under the primary key of [hkey_classes_root \ CLSID \ {00000000-0000-0000-0000-000000000000.

Create a subitem named "shellfolder", create a binary key value "attributes" in the right pane, and define its value as any of the following: "01 00 00 00" (copy, that is, the "copy" command corresponding to the right-click menu of the desktop icon, the same below), "02 00 00 00" (CUT), and "04 00 00 00 00" (paste), "10 00 00 00" (renamed), "20 00 00 00" (Deleted), and "40 00 00 00 00" (attribute ).
Tips
To add several command values at the same time, you only need to add the corresponding values, for example, "31 00 00" indicates adding "RENAME", "delete", and "copy" to the right-click menu of the desktop icon ". In addition, if the value of "attributes" is null or "00 00 00", the desktop icon is still a system-level icon, that is, all basic operations such as delete, rename, and copy are invalid.

Create a multi-level sub-item "shellex \ contextmenuhandlers \ {645ff040-5081-101b-9f08-00aa002f954e}". In this way, a "clear recycle bin" item appears in the right-click menu of the desktop icon, it has the same function as "Clear recycle bin" of "recycle bin.

3. You do not need to restart the icon to take effect.
after processing the subject key, the desktop icon has the following functions: why is there no icon on my desktop? Where exactly does it hide? Don't you ...... As you think, the icon has not yet taken shape. After all, our work has not completely ended.
in the Registry Editor, find [HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Explorer \ Desktop \ namespace], create a subitem "{00000000-0000-0000-0000-000000000000}" (the value must be the value defined under [hkey_classes_root \ CLSID]) and fold all the branches, select the top "my computer" and press F5 to refresh the Registry without restarting the system. After refreshing the desktop, you will surely shout "The Super System icon has finally appeared!"
tips
Create an icon without a name
when creating a shortcut icon on the desktop, you must enter a name. If it is blank, the system will not agree. Our super System icon is not subject to this restriction. You only need to modify the "default" value in the right pane of {00000000-0000-0000-0000-000000000000} and change it to null, you can create a "untitled icon.

4. Tips
Supplement 1: When you double-click the desktop icon, it uses the first item in the right-click menu (that is, bold) the link content is open by default.
Supplement 2: If you are careful, you may find that the first word of each link in the right-click menu will show an underscore, which seriously damages the overall appearance of the menu. In fact, if you create multiple [hkey_classes_root \ CLSID \ {00000000-0000-0000-0000-000000000000} \ shell \ XXX \ command], the right pane of "XXX" will be "(default) "(& X)" ("X" can be replaced by a single English letter or number) at the end of the value, not only does the underline Of the link content disappear, in addition, "x" in "(& X)" also becomes the shortcut key for the corresponding item.
Supplement 3: If the right-click menu of the desktop icon has an "attribute" option, an error prompt box is displayed after you select this option. For this problem, you can call IE browser by creating a two-level subitem "propertysheethandlers \ {fbf23b42-E3F0-101B-8488-00AA003E56F8}" under [hkey_classes_root \ CLSID \ {00000000-0000-0000-0000-000000000000--} \ shellex] "properties" dialog box. In this way, the extra ie icons on the desktop can be officially retired. Of course, you can also change "{FBF23B42-E3F0-101B-8488-00AA003E56F8}" to another Class Identifier to call the "properties" dialog box built in other systems, such as "recycle bin", "My documents.
Supplement 4: Use the "Create shortcut" command in the right-click menu of the desktop icon to drag and drop the icon to any location of the system, for example: quick Start zone, "Start" menu, a system directory, etc. Similarly, you can locate the original position of the icon in "My Computer" or "Control Panel. In addition, you can create multiple identical icons at the same place, which is hard to achieve in the past.

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.