How to modify the right mouse button settings with the registry

Source: Internet
Author: User

How do I use the registry to modify the right mouse button settings ?


first, remove the unwanted items from the new menu


1. Right-click on the desktop → new → Choose a build, write down its extension, here I build photoshop image, extension for PSD.


2. Find open Regworkshop, double hit open HKEY_CLASSES_ROOT root key, you can see there are many ". XXX" PRIMARY key, here is registered in Windows extension and application of the corresponding relationship ( For example TXT file and Notepad program notepad.exe corresponding).


3. PSD PRIMARY KEY (shortcut: Select any primary key, and then quickly type. PSD, the program will automatically switch to the primary key), double-click to open the key, see the following Shellnew primary key, select Shellnew, view the right window, You can see a nullfile empty string that will be deleted directly from the Shellnew primary key.


4. A few points to note:


① for the. txt primary key shellnew recommended retention, often used.


② Some extensions have shellnew keys to the right without nullfile strings, such as. rar, as shown in this case, to be removed in the new, it is recommended to change the Shellnew primary key to shellnew-so that it can be changed back later.


③ a Special One: WordPad document, with the primary key named. doc, which has 4 shellnew below, we just delete the primary key with the Nullfile string.


④ Some applications find the Shellnew primary key when it is opened, and then create a new one when it is not present or altered to deal with: Set permissions, right-click Shellnew primary key, select permissions, and set user permissions to "Deny" in the pop-up window.


Knowledge points:


1. Only 5 of the root keys in the registry , which you can see in the editor, are: HKEY_CLASSES_ROOT, HKEY_CURRENT_USER, HKEY_LOCAL_MACHINE, HKEY_USERS, Hkey_current _config


2. subkey (or PRIMARY key): The keys underneath these primary keys are all called primary keys.


3. Key value: The item in the right window corresponding to each key is called the key value of the key, which is commonly used: string, expandable String, DWORD value, and binary value.


4. Data: A character assigned a key value is called the data for that key value.


5.① String: You can type all legitimate characters as data.


② Expandable string: Similar to string, but you can type a variable, such as%systemroot%system32notepad.exe.


③ Binary Value: An integer that can be used to represent an arbitrary length, expressed in the registry in 16-way.


④dword value: Generally used as a true or false judgment, 0 for false; 1 for true.

  Second, all Files right-click menu


1. For example: I installed the avast! Antivirus and a gadget, now the right button becomes like this.


2. Find open Regworkshop, double hit open HKEY_CLASSES_ROOT root key, open * PRIMARY KEY (* to represent all files), Here are two keys related to the right key: Shell and Shellexcontextmenuhandlers.


Shell: This key is generally the following structure:


Hkey_classes_root*shell


Hkey_classes_root*shellopen


Hkey_classes_root*shellopencommand

The


indicates that the * key is associated with the application specified in the command subkey. The file type of the


ShellEx: Describes the * key is associated with a property page handle in the shell extension in the Windows system. Under the Shellexcontextmenuhandlers key, the subkey name is typically {454f08ea-a099-4353-834c-8a66147d4a0f}, or the default key value of the key is this form.


Knowledge point: {454f08ea-a099-4353-834c-8a66147d4a0f} This key is typically the CLSID that the program registers in the registry. The


CLSID is the abbreviation for the class ID. For each component class, you need to assign a single code to represent it, that is, the ID, in order to avoid conflicts, Microsoft uses the GUID as a CLSID, has the function of generating GUIDs, mainly based on the time, the machine address and other information dynamically generated, in theory, to ensure that the world's only.


3. Open the Shell key and find the Go DOS and go Explorer two items below, delete.


4. Open the Shellexcontextmenuhandlers key and find the Avast key below to remove it.


Now click on a file to see the effect, there is no.


Three, folder right-click menu


1. Right-click on the folder to see more than three items: Go Dos, MS-DOS, and replication path.


2. Find dirEctory primary key (folder), open the shell key below, and really found the go DOS and msdos child keys, careful friend must have found, in the menu shows MS-DOS, then how to change the MSDOS. The text displayed on the original menu is set in the default value of the key.


Now we empty the default value to see the effect, and now it does the menu text with the Msdos key, and the default first letter is the shortcut key. (Specifies the shortcut key: Before the letter that needs to be used as a shortcut key, such as Ms&dos, primary key or data).

3. Open directoryshellexcontextmenuhandlers and find Ninotech path copy, which is the copy path that appears in the menu. The point to note here is that some programs put the text in the right-click menu not in the registry, but in the DLL file, as in this case, to handle this situation with caution.

four, Drive right button menu


1. Look at the drive's right-click menu, and also have a Go DOS option.


2. Locate the drive primary key, or type hkey_classes_rootdrive in the address bar to go to that key. Open the Shell subkey and remove the Go DOS key below.


Five, folder right-click menu


1. Its name in the registry is folders, which in general is included in the directory and drive. Specifically how to define and distinguish between the yet clear (PS: A friend who understands the trouble pointing).


2. If your folder and drive have the same menu in the right key, but you can't find it in Hkey_classes_rootdirectory and hkey_classes_rootdrive, it must be under this key.

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.