right mouse button

Source: Internet
Author: User
Tags ultraedit

1. Add commands to the right-click menu of all Files if you have WinZip, UltraEdit, etc. installed on your system, you will have "Add to zip" and "UltraEdit-32" commands when you right-click on any of the files (of course, WinZip is slightly different, I'll talk about it later). It is added by: (1). Open "hkey_classes_root\*", (2). Under which you create a new "shell\ Command \command" branch, set the command's key value to the absolute path of the executable program that was used to execute it, and then add "%1" Can. Example: Under "Hkey_classes_r oot\*" new "Shell\ Open \command" subkey, set command key value to "C:\Windows\Notepad.exe%1", will appear in the right-click menu "Open with WordPad" command of the (2). Description: 1. To delete this class command, simply delete the "command" subkey; 2. Some people may ask him to do what I write, but there is something different with me, which is the shortcut key (N) in my command, as long as "open with WordPad" and add "(& N) "Can. 2. Add a command to the right-click menu for a specific file type just now I've talked about WinZip. This software, for the normal file type, its right-click menu has "Add to zip", but it supports the type of compressed files, such as *.zip, *.cab, *.rar in its right-click menu has "Open With Winzip, ' Extract to ', ' Extract to Folder ', ' Create self-extractor (. EXE) ', for self-extracting installation files (such as oicq99b), the right-click menu has "Run with Winzip "command. Here is the command Add method for the right-click menu for a specific file type (for example, add play with Winamp in the context menu of the mp3 file): (1). Open the "hkey_classes_root\mp3_auto_file" PRIMARY Key, (2). under which new " Shell\play with Winamp (& P) \command ", set the command's key value to" C:\Program files\winamp\winamp.exe%1 ". Note: When more than one software can play the mp3 file, we can add multiple commands to the right-click menu, such as adding "Play with Unreal" commands, but how do we define a command as the default action (that is, the bold command in the context menu)It? You must say, very simple thing! Move the mouse to a MP3 file, press SHIFT while pressing the right mouse button, select "Open with" in the right-click menu to change, but this is wrong, do not believe you try, so only in the right-click menu "Open" will only use the program you choose to open it, otherwise, it still as always. Because its default action is not to "open" this command. The real way is to change the shell's default key value to the command you want to execute, such as changing the shell's key value to "Winamp", as shown in effect 3. Also, do not know that you found no, I used in the previous example is "Play with Winamp" command, and here is the "Winamp", is not a bit of a corresponding? Speaking of this, it really makes me sad, originally i in the TXT document with the shell for the default operation of the conversion (convert open and print) quite successful, but a conversion "play with Winamp" and "Play with Unreal" failed, always converted, Finally understand that this could be a bug in the "Plague Bar", which requires that the key name of the primary key be converted to a single string when it is valid. The combination of Chinese characters and English is also valid, but there can be no space in the middle (I do not know if this is related to my Win98 is the D version?). )。 If you think the above method is inconvenient and too complex, in fact, Windows also provides a more convenient and secure way to not operate the registry: Open a folder, select "View/Folder Options/File Type", here you will find all the registered file types, select "MP3 File/edit" , see the "New", "edit", "delete", "Set as Default" buttons below the actions below? Four. No, I'll teach you again!  Hey.
3. Add a command to the right-click menu in all Folders if you have used acdsee this software, you will find in the folder right-click menu always have "Browse with ACDSee" This command, the same kind of Pc-cillin trend Pc-cillin 98 command, The following methods are added to this class of commands: (1). Open the "Hkey_classes_root\diretory\shell" PRIMARY Key, (2). Under which new "command \command" ... Let's not talk about it! Note: 1. If you are careful, you will find that the drive is also a special folder in the right-click menu of the driver, as well as the "Browse with ACDSee" "Trend pc-cillin98" command. However, it is not possible to add commands to the right-click menu of the drive by using the above method. If you want to add a command, you must operate on the "Hkey_classes_root\drive\shell" PRIMARY Key, (3). Under the "HKEY_CLASSES_ROOT" primary key there is also a folder subkey, as the name implies, the operation on it will affect all folders , including Recycle Bin, remember! (Figure 4 adds the "Browse with ACDSee" command in the Recycle Bin) 4, add a command to the right-click menu of all files and folders if you develop a program yourself, it's manipulating objects to files and folders, So you want to add specific commands to all the files and folders in the right-click menu, which depends on the following. Open the "hkey_classes_root\allfilesystemobjects" primary key, under which you create a new "shell\ command \command", and the following actions are the same as before. It should be pointed out that this is only a solution, if you look at the picture I have captured, you will find that there is always a "iconview" command, appear in all the files and folders in the right-click menu, but this is not formed in this way, you might as well contrast (5), This command is extended by 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 approach involves programming, confined to space and subject matter, I'm not going to talk about this method (Shh!). Be quiet, I'm not. 5. Add and delete some special commands (1). Explorer in Windows systems, the right-click menu for normal folders, drives, recycle bins, etc., has the Explorer command, and if you only want to keep the command in the drive, you can first hkey_classes_root\ Folder\shell "Delete expl in primary keyOre subkey, and then create a new "Explore\command" subkey in the "Hkey_classes_root\ Drive\shell" primary key, so that the Commmand key value is "C:\WINDOWS\ explorer.exe/e,/ Idlist,%i,%l "How, Success!" (2). Emptying the Recycle Bin in the Windows system, only in the Recycle Bin right-click menu has "empty Recycle Bin" command, is not too inconvenient, OK, we can undergo a transformation, so that all the File menu has "empty Recycle Bin" command, follow me! Our idea is to find out the source of the "Empty Recycle Bin" command, and then copy it to "hkey_classes_root\*". Good, or first to find it, I find AH find, finally found! (Figure 6)--Another way to teach you is that some special commands (especially software provided by third parties) are extended by the application library (. DLL), you can find traces of it in the registry "ShellEx \contextmenuhandlers". We open "hkey_classes_root\clsid\{645ff040-5081-101b-9f08-00aa002f954e} \shellex\contextmenuhandlers" and we can see that there is a "{ 645FF040-5081-101B-9F08-00AA002F954E} ", which is the root of the" Empty Recycle Bin "command. Find the source, it is much easier, under "hkey_classes\root\*\shellex\contextmenuhandlers" a new key named "{645ff040-5081-101b-9f08-00aa002f954e}" The sub-keys, how, cool enough! (3). Adding and removing subcommands for new commands I don't know if I've ever encountered this situation: you often write your own web pages by hand, with a "New HTML Document" command in the new command on your machine, but not on your machine, and as the software grows, Your new command pop-up command is getting longer and more time-out! It doesn't matter, don't worry, let me help you to get out of the call out, should not come to 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, you now right-click on the desktop, see New, is not a bit more what? As for the deletion, I do not want you to let me say more! (4). Adding commands such as cut, copy, and paste note that I'm just talking about cutting, copying,The addition of commands such as paste, which means that some objects that do not have these commands in the right-click menu, can be added, and for those objects that have the command on them, I can't do anything to delete them. OK, I now take the Recycle Bin as an example, to cut, copy, paste and other commands to add, specifically, there are "open, cut, copy, paste, rename, delete, attributes," and other commands to add. First open the "hkey_classes_root\clsid\{645ff040-5081-101b-9f08-00aa002f954e}" PRIMARY key, you will find that there are "ShellFolder" sub-keys, The new binary value attributes is created under this subkey, and its key value determines the display and hiding of these commands in the right-click menu. The following: 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 Property 40 00 00 00 If you want to Display some commands, simply add the key value corresponding to the command, and the result will be the key value of the attributes. For example: When the attributes value is 00 00 00 00 (default), the above command is not displayed, and when 73 01 00 20 o'clock, all commands (7) are displayed. Now, you can change the "Recycle Bin" to the name you want to change, and you can paste the "waste" into the Recycle Bin (but I don't see how much it works, right?). ) (5). " There is no "send to" command in the right-click menu of a folder (such as my document) that is sent to "and its menu, and we can add it to it by referring to the Add method of the empty Recycle Bin command." is to open "HKEY_CLASSES_ROOT \clsid\{450d8fba-ad25-11d0-98a8-0800361b1103}\shellex\ contextmenuhandlers", under which you create a new "{ 7ba4c740-9e81-11cf-99d3-00aa004ae837} "sub-key, it's OK. As for the "Send to" menu, it is not necessary to operate in the registry, it is the root of the "C:\windows\SendTo" This folder, you just need to create a new shortcut in this folder, so that it points to the folder you want to send To, OK (8, where backup, Software to a new shortcut to the folder). (6). Find in Windows system, the normal folder and the right-click menu of the drive has "find ..." this command, if we want to find in the Recycle Bin accidentally deleted files, and at this time in the Recycle BinFile, we can add the "find ..." command in the Recycle Bin's right-click menu. The specific method can be referenced in 2, 5. Just need to create a new subkey of "{61e218e0-65d3-101b-9f08-061ceac3d50d}". But the command becomes a "file or Folder ..." (9) so much so that you should now know how to modify the right-click menu? All of the above are in the Windows98 Chinese version of the passage. Finally, I wish everyone can put their own right-click menu to change the unique, handy!! Second, easy to modify the right mouse button menu operation of Windows 95/98 friends must know that by using the right mouse button pop-up menu can simplify many operations, such as WinZip to compress files. So it also gradually "get fat" up, first WinZip, then ACDSee, then Norton AntiVirus ... Do you want to make changes to this pop-up menu as well? I hope this article will give you some inspiration. Modify the file's right mouse button pop-up menu (hereinafter referred to as the pop-up menu) to run Registry Editor (Regedit.exe) and open the "My Computer \hkey_classes_root\*\shellex\ contextmenuhandler" branch. Under this branch there are two primary keys Hexworkshopcontextmenu and WinZip (the author's computer is equipped with WinZip and Hexworkshop), delete the original file can be found on the pop-up menu of the hex Edit and add to zip two missing. When you want to add some executable files to the pop-up menu (take Notepad as an example), you can do the following: 1. Under "My Computer \hkey_classes_root\*", create a new primary key named Shell. 2. Under Shell, create a new AAA (AAA is the text that appears in the pop-up menu, assuming the primary key is replaced with "Open with a Notebook"). 3. Create a new primary key named command under AAA, modify its right default key value to "C:\Windows\Notepad.exe%1" (% 1 means that the file does not have parameters and only runs the Notebook program). 4. To add a new menu item, repeat steps 2 and 3. In this way, the "Open with Notebook" option appears on the pop-up menu, avoiding the hassle of repeatedly selecting a notebook from many open styles when opening a file that is not associated with a notebook. And you can open the same file in a variety of ways without changing the original association of the file (such as opening a picture with Photoshop and ACDSee at the same time), increasing the flexibility of how the file is opened. Modify the drive and folder pop-up menu 1. Changes to the drive pop-up menu (1) Modify the method with the popup menu of the above fileModify basic, run Registry Editor, open "My Computer \hkey_classes_root\drive", under which there are three primary keys DefaultIcon, Shell, and ShellEx. (2) Open the shell to see Find and browse with ACDSee (the machine needs to have ACDSee), which is also displayed on the pop-up menu text, such as the browse with ACDSee to another name, such as "Browse with ACDSee", Then English becomes Chinese "Browse with ACDSee". Adding a menu item also requires adding a new primary key under the shell, deleting the menu item and deleting the corresponding primary key, such as deleting hexworkshop, then deleting the ShellEx under the Contextmenuhandlers primary key. Hexworkshopcontextmenu primary key. 2. The Modify folder popup menu of the folder popup menu is more complex to modify, involving two primary key directory and folder (also located under "My Computer \hkey_ classes_root \"). There is also an effect on the drive pop-up menu after modifying the folder primary key (modifying the primary key does not affect the other), such as adding a new primary key (named AAAA) under the Folder\shell primary key, and AAAA in the drive and folder pop-up menu. Deletion also has an effect on both, such as removing the explore and open primary keys under Folder\shell, both the explorer of the pop-up menu and the opening of the two items will disappear. To remove WinZip from the drive pop-up menu, delete the WinZip primary key under Folder\ Shellex\context menuhandlers. Instead of deleting the WinZip item in the folder pop-up menu, delete the WinZip primary key under Directory\shellex\contextmenuhandlers. Only the folder pop-up menu can be deleted, you need to do directory operations (operation of primary key directory does not affect the drive's pop-up menu). If you delete a menu item, simply remove the find primary key under Directory\shell and add a new primary key under the shell. 3. Modifying this method from Folder Options is simple, similar to associating a file with the following methods: (1) Double-click My Computer to open View/Folder Options (for Windows98, you can also click Start/Settings/Folder Options). (2) Click the "File Type" tab, select "Drive" from the box and press the "Edit" button. (3) in the subsequent Edit File Type dialog box, press the "new" button,Enter a name in the New Action dialog box that pops up (that is, the text on the popup menu), enter the application name in the Application text box for the action (also available for browsing), and press OK when you are done. The steps to modify the folder are the same, as long as you select the folder. With these methods, you can add your own software to the pop-up menu, and the original software to occupy a place is not very fulfilling. Third, clever use of the right-click menu to move and copy files is the most commonly used in Windows file operations, usually the first selected files, and then the right mouse button, select the "copy" or "Cut" command, and then open the target folder, and then "paste"; again, open and tile the two explorer windows, Then drag-and-drop operation, can also achieve the purpose of operation. (In fact, the "Send to" command of Windows, is a very flexible copy command, we can manually add "Send to" object, you can easily copy files.) But these methods are not flexible enough, and perhaps Microsoft is aware of this, adding the "Copy to Folder" and "Move to Folder" commands in Windows ME/XP. It is in the explorer's "Edit" menu, do not believe you open to see! Unfortunately in the actual application is still slightly inconvenient. This does not, the author describes the following methods of operation allows you to the "Copy to Folder" and "Move to Folder" command added to the right-click menu, which can greatly facilitate operation. 1. Run the Registry Editor (RegEdit). 2. In the left pane of the Registry Editor window, expand the Hkey_classes_root\allfilesystem objects\shellex\contextmenuhandlers branch. 3. Right-click on "Contextmenuhandlers" and select "New → primary key" to name the new primary key "Copy to". 4. Select the "Copy to" primary key, and in the right pane, double-click Default, and in the Pop-up dialog box, type "{C2FBB630-2971-11D1-A18C-00C04FD75D13}" in the Value data box. Click the OK button. 5. Click the Exit command on the File menu to close the Registry Editor window. Add the Move to Folder command, as above, just under "contextmenuhandlers", create a new "move to" primary key and set its value to "{C2FBB631-2971-11D1-A18C-00C04FD75D13}". Now, right click on a file (folder), in the System Pop-up shortcut menu, the "Copy to Folder" and "Move to Folder" two options, click to try, this will pop up a Browse folder window, select the target folder, click OK to achieve copy or moveThe purpose of the document. Expand the registry to Hkey_current_ User\software\microsoft\internet Explorer\menuext, the additional right-click menu displayed in IE is set here, common "network ants" and "Internet Express" Right-click to download the information is also stored here, just find the display of the primary key entry to delete the ads.

right mouse button

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.