I. Right-click the menu to reveal the secret
1. Right-click all files and add the command
If your system is installed with WinZip, ultraedit, and so on, when you right-click any file, there will be "add to zip", "UltraEdit-32" and other commands (of course, WinZip is slightly different, I will talk about it later ). It can be added:
(1) Open "hkey_classes_root //*";
(2 ). create the "shell // command" branch under it, and set the command key value to the absolute path of the executable program used to execute the command, and add "% 1" after it.
For example, in "hkey_classes_r
Under oot // *, create the subkey "shell // open with the WordPad // command" and set the command key value to "C: // windows // notepad.exe % 1 ", the" open with WordPad "command appears in the right-click menu (2 ).
Note:
1. to delete such commands, you only need to delete the subkeys of the "command;
2. some may ask him to follow what I wrote, but what is different from what I got is that my command has a shortcut key (n ), you only need to add "(& amp; n)" after "open with a WordPad.
2. Add commands to the right-click menu of a specific file type
The WinZip software is mentioned just now. For common file types, its right-click menu contains "add to zip", but it supports the compressed file types, such *. zip ,*. cab ,*. RAR in its right-click menu, there are "open with WinZip", "extract to", "extract to folder", "create self-Extractor (. for self-extracting installation files (such as oicq99b), right-click the "run with WinZip" command in the menu. The following describes how to add commands to the right-click menu of a specific file type (for example, add play with Winamp to the right-click menu of an MP3 file ):
(1). Open the "hkey_classes_root // mp3_auto_file" primary key;
(2 ). create "shell // play with Winamp (& amp; P) // command" and set the command key value to "C: // program files // Winamp // winamp.exe % 1 ".
Note: When multiple software programs can play MP3 files, you can add multiple commands in the right-click menu, such as play with unreal, but how can we define a command as a default operation (that is, the command in the right-click menu?
Are you sure you want to say something simple! Move the mouse to an MP3 file, right-click the file, and press shift. Select "open mode" in the right-click menu to change the file. However, this is incorrect. Do not believe it, in this way, you can only choose "open" in the right-click menu to open it with the program you selected. Otherwise, it will continue. Because its default operation is not "open" this command. The real method is to change the default shell key value to the command you want to execute. For example, change the shell key value to "Winamp", as shown in effect 3.
Also, I don't know if you have found it. In the previous example, I used the "Play with Winamp" command, but here I used "Winamp". Isn't it a bit different? Speaking of this, it really makes me sad. Originally, when I used shell in the TXT document to convert the default operations (convert open and print), it was quite successful, however, the conversion of "Play with Winamp" and "Play with unreal" will fail, but the conversion will always fail. In the end, we will understand that this may be a bug of "wintitle, it must be valid only when the key name of the primary key is a single string during conversion. The combination of Chinese characters and English letters is also effective, but there is no space in the middle (I wonder if this is related to my windows 98 version D ?).
If you think the above method is not convenient and too complex, in fact, in Windows, you also provide a more convenient and secure way to do not need to operate the Registry: open a folder, select "View/Folder Options/file type". Here you will find all registered file types and select "MP3 file/edit ", do you see the "new", "edit", "delete", and "set as default" buttons below? I don't need to teach you any more! Hey.
3. Right-click all folders and add the command
If you have used the ACDSee software, you will find that there is always the "Browse with ACDSee" command in the context menu of the folder, there are also the trend PC-cillin 98 command in the PC-cillin, and the method to add this command is as follows:
(1) Open the "hkey_classes_root // diretory // shell" primary key;
(2) create "command // command" under it "...... Let's stop talking about it!
Note: 1. if you are careful, you will find that in the right-click menu of the drive, there are also "Browse with ACDSee" "trend Pc-cillin98" and other commands, the drive is also a special folder, however, you cannot add commands to the right-click menu of the drive through the above method. If you want to add a command to it, you must operate on the "hkey_classes_root // drive // shell" primary key; (3 ). there is also a folder subkey under the "hkey_classes_root" primary key. As the name suggests, operations on it will affect all folders, including the recycle bin. Remember to remember! (Figure 4 adds the "Browse with ACDSee" command to the recycle bin)
4. Right-click all files and folders and add the command
If you develop a program by yourself, the operation objects are files and folders. Therefore, you want to add specific commands to the right-click menu of all files and folders for operations, you have to look at the following.
Open the primary key "hkey_classes_root/allfilesystemobjects" and create "shell // command". The following operations are the same as before.
It should be noted that this is only a solution. If you look at the figure, you will find that there is always an "iconview" command, it appears in the right-click menu of all files and folders, but this method is not used. For more information, see (5 ), this command is extended through the application extension library iv_shext.dll in the software, so it appears in the middle of the right-click menu. Instead of at the top. (What? Let me talk about this method ?) Since this method involves programming content, it is limited to space and themes, so I will not talk about this method (hush! In a few minutes, I will not .)
5. add and delete some special commands
(1). Resource Manager
In Windows, the "Resource Manager" command is available in the context menu of common folders, drives, and recycle bin. If you only want to keep this command in the drive, you can first Delete the explore subkey in the "hkey_classes_root // folder // shell" primary key, then, create the subkey "Export E // Command" in the "hkey_classes_root // drive // shell" and set the commmand key value to "C: /// windows // assumer.exe/e,/idlist, % I, % L!
(2). Clear the recycle bin
In Windows, the "Clear recycle bin" command is only available in the context menu of the recycle bin. Is it too inconvenient? Well, we can make some modifications, let all the file menus have the "Clear recycle bin" command, follow me!
The idea is to first find out the source of the "Clear recycle bin" command, and then copy it to "hkey_classes_root. Okay, let's look for it first. I can find it and finally find it! (Figure 6) -- let's teach you another trick, that is, some special commands (especially the software provided by a third party) are all extended libraries (. DLL), you can find its trace in the "shellex // contextmenuhandlers" of the Registry. Open "hkey_classes_root // CLSID // {645ff040-5081-101b-9f08-00aa002f954e} // shellex // contextmenuhandlers" and you will find a subkey named "{token, this is the root cause of the "Clear recycle bin" command.
It is much easier to find the root cause. In "hkey_classes/root/*/shellex/contextmenuhandlers", how can I create a new sub-key named "{keys, cool!
(3) add and delete subcommands for new commands
I don't know if this is the case: You often write web pages by yourself. The new commands on the unit machine contain the "Create HTML document" command, but you don't have it on your machine, in addition, as various software continues to increase, it takes longer and longer for you to create a new command to bring up sub-commands! It doesn't matter. Don't worry. Let me help you call it out. Don't let it go back!
Open "hkey_classes // root //. "htm", add a primary key shellnew, and then create a new string value nullfile. The key value is empty. Right-click the table and check whether the new one is more? As for deletion, I don't want you to let me talk about it!
(4) add commands such as cutting, copying, and pasting
Note: I just want to add commands such as cut, copy, and paste. That is to say, you can add some objects without these commands in the right-click menu, I can't do anything to delete objects that have such commands.
Well, I now use the recycle bin as an example to add commands such as cut, copy, and paste. Specifically, you can add commands such as "Open, cut, copy, paste, rename, delete, and attribute. Open the "hkey_classes_root // CLSID // {645ff040-5081-101b-9f08-00aa002f954e}" primary key first. You will find that there is a "shellfolder" subkey to create a binary value attributes under this subkey, its key value determines the display and hiding of these commands in the right-click menu. The details are as follows:
Command key value
Open 00 00 00 20
Cut 02 00 00 00
Copy 01 00 00 00
Paste 00 01 00 00
Delete 20 00 00 00
Rename 10 00 00 00
Attribute 40 00 00 00
If you want to display some commands, you only need to add the corresponding key value of the command and the result is used as the key value of attributes. For example, if the attributes value is 00 00 00 (default), the preceding commands are not displayed. If the value is 73 01 00 20, all commands (7) are displayed ). Now, you can change the "recycle bin" to the name you want to change, and paste the "waste" to the recycle bin. (However, I don't know how useful this is, yes ?)
(5). "Send" and its menu
Some folders (such as my documents) do not have the "send" command in the context menu. We can add the command to it. For how to add the command, refer to the "Clear recycle bin" command. Open "hkey_classes_root // CLSID // {export d8fba-ad25-11d0-98a8-0800361b1103} // shellex // contextmenuhandlers" and create a new "{secret}" sub-key under it.
As for the menu sent to, you do not need to operate on it in the registry. Its root cause is the "C: // windows // sendto" folder, you only need to create a new shortcut in this folder to point it to the folder you want to send, and it will be OK (8, where backup, software is the new shortcut to the folder ).
(6). Search
In Windows, the shortcut menu of a common folder and drive contains "search ......" This command, if we want to find accidentally deleted files in the recycle bin, and there are too many files in the recycle bin, we can add "search..." to the context menu of the recycle bin ......" This command. For details, refer to 2, 5. The subkey to be created is {61e218e0-65d3-101b-9f08-061ceac3d50d }". But the command is changed to "file or folder ......" (9)
After talking about this, you should know how to modify the right-click menu now? All of the above are accepted in the Chinese version of Windows 98. Finally, I wish you all could make your right-click menu unique and easy !!
2. easy modification of the right-click menu
Those who have performed operations on Windows 95/98 will surely know that many operations can be simplified by right-clicking the pop-up menu, such as compressing files with WinZip. As a result, it gradually becomes "lucky", first WinZip, then ACDSee, and then Norton Antivirus ...... Do you want to modify the pop-up menu as well? I hope this article will give you some inspiration.
Right-click the file to modify the pop-up menu (hereinafter referred to as the pop-up menu)
Run the Registration Table editor (regedit.exe) and open the "My Computer // hkey_classes_root // * // shellex // contextmenuhandler" branch. The Branch has two primary keys hexworkshopcontextmenu and WinZip (WinZip and hexworkshop are installed in my computer ), after deletion, you will find that the hex edit and add to zip items on the pop-up menu of the original file are missing. When you want to add some executable files in the pop-up menu (taking notepad as an example), you can perform the following operations:
1. Create a primary key named Shell under "My Computer // hkey_classes_root.
2. Create a primary key named AAA under shell (AAA is the text displayed in the pop-up menu, which is assumed to be replaced by "open with notebook.
3. create a new primary key named command under AAA and change its right key value to "C: // windows // notepad.exe % 1" (% 1 indicates that the file does not contain parameters, and only run the notebook program.
4. Add a new menu item and repeat steps 2 and 3.
In this way, the "open with notebook" option appears in the pop-up menu, when opening a file that has not been associated with the notebook, it avoids the trouble of repeatedly selecting the notebook from many open methods, in addition, you can open the same file in multiple ways without changing the original association of the file (such as opening an image with Photoshop and ACDSee at the same time), increasing the flexibility of the file opening method.
Modify the pop-up menu of the drive and folder
1. Modify the drive pop-up menu
(1) The modification method is basically the same as that in the pop-up menu of the preceding file. Run the Registry Editor and open "My Computer // hkey_classes_root // drive ", there are three primary keys defaulticon, shell, and shellex.
(2) Open the shell and you can see find and browse with ACDSee (ACDSee must be installed on the machine). This is also the text displayed on the pop-up menu. For example, change Browse with ACDSee to another name, for example, when "Browse with ACDSee", the English language is changed to "Browse with ACDSee ". To add a menu item, you also need to add a new primary key under shell. to delete a menu item, you only need to delete the corresponding primary key. For example, to delete hexworkshop, delete the hexworkshopcontextmenu primary key under contextmenuhandlers under shellex.
2. Modify the folder pop-up menu
The modification of the folder pop-up menu is complex, involving the modification of two primary keys directory and folder (also located under "My Computer // hkey _ classes_root. Modifying the folder primary key also affects the drive pop-up menu (modifying the drive primary key does not affect others). For example, you can add a new primary key (named AAAA) under the folder // shell primary key ), the AAAA option will appear in the drive and folder pop-up menus at the same time, and deletion will also have an impact on both, such as deleting the javase and open primary keys under folder // shell, both the resource manager and open items in the pop-up menu disappear. To delete the WinZip entry in the drive pop-up menu, delete the WinZip primary key under Folder/shellex/context menuhandlers. To delete the WinZip entry in the pop-up menu of the folder, delete the WinZip primary key under directory // shellex // contextmenuhandlers. You only need to add or delete the folder pop-up menu and perform directory operations (the operation of the Primary Key Directory does not affect the pop-up menu of the drive ). For example, if you delete the search menu item, you only need to remove the find primary key under directory // shell, and add a new primary key under shell.
3. Modify from "Folder Options"
This method is relatively simple, similar to establishing an association with a file. The method is as follows:
(1) double-click "my computer" to open "View/Folder Options" (for Windows 98, you can also click "Start/set/Folder Options ").
(2) Click the "file type" tab, select "Drive" from it, and then click "edit.
(3) In the subsequent edit file type dialog box, click "new" and enter a name (text on the pop-up menu) in the new operation dialog box that appears ), enter the application name in the application text box for the operation (you can also browse to find it), and then click "OK.
The steps for modifying folders are the same. You only need to select a folder.
By using these methods, you can add your own software to the pop-up menu, so that you can have a sense of accomplishment with genuine software.
3. cleverly use the right-click menu
Moving and copying files is the most common file operation in windows. Generally, you select a file first, right-click the file, select "copy" or "cut", and open the target folder, then, click paste. In addition, open and tile the two resource manager windows, and then drag and drop to achieve the operation purpose. (In fact, the "send" command in Windows is a very flexible Copy command. We can manually add "send" objects to facilitate file copying. However, these methods are not flexible enough. Microsoft may realize this by adding the "Copy to folder" and "move to folder" commands in Windows ME/XP. It is in the "edit" menu of the resource manager. If you don't believe it, open it yourself! It is a pity that it is a little inconvenient in actual application. This is not the case. The following operations allow you to add the "Copy to folder" and "move to folder" commands to the context menu, which greatly facilitates operations.
1. Run regedit ).
2. In the left pane of the registry editor window, expand the "hkey_classes_root \ allfilesystem Objects \ shellex \ contextmenuhandlers" branch.
3. Right-click "contextmenuhandlers", select "New> Primary Key", and name the new primary key "Copy ".
4. Select the copy to primary key and double-click default in the right pane. In the displayed dialog box, type {C2FBB630-2971-11D1-A18C-00C04FD75D13 }". Click OK.
5. Click the exit command in the File menu to close the registry editor window.
Add the "move to folder" command. The method is the same as above. just create a "move to" primary key under "contextmenuhandlers" and set its value to "{c2fbb631-2971-11d1-a18c-00c04fd75d13.
Right-click a file (folder). In the shortcut menu that appears, the "Copy to folder" and "move to folder" options are displayed. Click here to try, in this case, a folder browsing window is displayed. Select the target folder and click OK to copy or move the file.
Expand the Registry to hkey_current _ User \ Software \ Microsoft \ Internet Explorer \ menuext. The shortcut menu displayed in IE is set here, the common "Network ant" and "network express", right-click, and download information are also stored here. You only need to find the primary key entry for displaying the advertisement to delete.
"New" menu
For any file type that has been registered in windows, we can add the new "shellnew" item to the corresponding extension key name, and then specify the settings for how to create a new file in windows, add "nullfile" and "command" to the cascade menu.
In the Registry Editor, expand hkey_classes // root //. htm, create a new item "shellnew", create a new string value "nullfile", enter the key value, and press F5 to refresh and exit. Right-click the desktop and open the "new" cascade menu. An additional "HTML document" (4) item is displayed ). To delete unnecessary file types from the "new" menu, you only need to find the corresponding file extension in the Registry and then delete the "shellnew" subitem under it.
Special right-click menu commands
● Add the "Clear recycle bin" option
Create a new entry "{645ff040-5081-101b-9f08-00aa002f954e}" under the hkey_classes_root // * // shellex // contextmenuhandlers branch of the Registry, and then exit. When right-clicking any file, the shortcut menu contains an option to clear the recycle bin.
● Add the "open in New window" option
In the Registry hkey_classes_root/directory // secrets % 1 ".
● Add the "quick restart" option
Under the hkey_classes_root // directory // shell branch of the registry, create a new "reboot" and change the "default" key value in the right pane to "quick restart ", create a new "command" under "reboot" and modify the "default" key value in the right pane to "shutdown-R-T 00.
● Add the copy Option
Under the hkey_classes_root // allfile-systemobjects // shellex // contextmenuhandlers branch of the registry, create a new item "Copy ", modify the default key value in the right pane to {C2FBB630-2971-11D1-A18C-00C04FD75D13.
● Add the "move to" option
Create a new item "move to" under the hkey_classes_root // allfilesystemobjects // shellex // contextmenu-handlers branch in the registry ", modify the default key value in the right pane to {C2FBB631-2971-11D1-A18C-00C04FD75D13.
Optimize System context menu
After the system is used for a period of time, especially when new software is often installed, the SLIM right-click menu will become bloated, resulting in slow response. So how should we pay attention to this problem? The following four suggestions are for reference only.
First, try not to install similar software. When selecting software, you can select a software of the same category based on your preferences. This avoids the addition of similar menu items in the context menu. For example, if ACDSee has been installed on a computer, you do not need to install Image view software such as slowview and Irfan view, right-click menu commands similar to "Browse with ACDSee", "Browse with slowview", and "Browse with Irfan View" will appear.
Second, install and uninstall the software normally. If we repeatedly install the software, instead of first detaching the original software and then re-installing it, this may lead to repeated or wrong projects in the right-click menu. Therefore, it is best to check whether the software has been installed before installing the software. If the software has been installed, uninstall the software before installing it.
Third, use the folding menu. Currently, many software products allow you to right-click all menus or fold-over menus, such as WinZip and WinRAR. Take WinRAR as an example. The setting method is as follows: Open "options" | "Settings", and click the "comprehensive options" tab, in the "shell integration" column, select "collapse Association menu" (5 ).
Fourth, use tools to clear the right-click menu. In addition to the previous methods, you can also use special optimization tools such as Super Rabbit magic settings to delete extra right-click menu items.
Right-click a file type
You can modify the Registry to add options to the right-click menu of a specific file type, but there is a simpler and safer method, that is, to modify the folder options.
For example, to add "Play with mplayer2 (Windows Medis Player 6.4)" to the right-click MP3 file menu, perform the following operations: choose Resource Manager tools, Folder Options, file type, MP3 in the registered file type list box, and click the Advanced button below, in the displayed dialog box, click "new", and then enter "Play with mplayer2" in the "operations" text box ", enter "/" C: // program files/Windows Media Player // mplayer2.exe/"/play/" % L/"in the" applications used to perform operations "box /"", click OK and exit the folder option (1 ).
Right-click a file object
To add a right-click menu item for a file object, you must modify the registry. To give a simple example, add a menu item "set as hidden attribute" to a file object. The procedure is as follows:
Run regedit, create a "shell" under the hkey_classes_root // * branch of the Registry, and create a new "atthide" under the sublevel ", modify the "default" key value in the right pane to "set as hidden attribute", and create a new project under "atthide" and name it "command ".
In the Registry hkey_classes_root/* // shell/atthide/keys + H/"% 1/" (do not enter the quotation marks), and then exit the Registry Editor (2 ). Right-click any file, and you can see that a "set as hidden attribute" is added to the pop-up shortcut menu. You can select it to specify a hidden attribute for the file.
Right-click a folder object and choose
Right-click the folder Class Object and choose "hkey_classes_root/directory // shell" from the registry to perform the same settings.
For example, you need to add the "command prompt" option in the context menu of the folder. In the registry, hkey_classes_root/directory // keys/k cd/"% 1 /"". Now we can switch to the specified directory without entering the long CD command.
Right-click a drive Class Object
To enable screen saver quickly, you can enter the screen saver in the right-click menu of the drive. The specific method is as follows: Create a new "loadscr" under the hkey_classes_root // drive // shell branch of the Registry ", modify the "default" key value in the right pane to "Screen Saver", and create a new "command" under this item ", set the "default" key value in the right pane to "C: // windows // system32 // logon. SCR/S/"% 1/", refresh and exit the Registry Editor. Right-click any drive and select screen saver from the menu to run the screen saver.
Right-click all files and folders and choose
If you want to add a specific menu item to the right-click menu of all files and folders, you can expand hkey_classes_root // allfilesystemobjects in the Registry Editor, create "shell // command // Command" in sequence. Other operations are similar to the previous one.
Shortcut menu Extension
"Open Mode" menu
In Windows XP, "Open Mode" is a very useful menu item. For example, for the same video file, you can use the "open mode" menu to quickly call different players for playback without modifying the file association. After a program is called to open a file through "open mode" | "select a program" (3), the program is automatically added to the "open mode" project.
After the system is used for a period of time, the number of projects in the "open mode" menu increases, so it is necessary to clean up. Take the "open mode" menu for clearing files in AVI format as an example: Run regedit, open registry editor, and expand HKEY_CURRENT_USER // software // Microsoft
// Windows // CurrentVersion // explorer // fileexts //. avi, we can see "openwithlist" and select it. In the right pane, we can see various applications associated with the "open mode" menu of AVI files. Select the project to be cleared, press "Del" to delete the project, refresh the project, and exit the Registry Editor.