Create a powerful right-click menu

Source: Internet
Author: User

Author: wilderness Source: Skynet

Many Windows users like to use the right-click menu in operations. However, because different file types require different functional menus, the system only provides several common right-click menu functions. In order to better utilize the right-click menu function, we can also "customize" the right-click menus required by different types of files. Let's take a look at several examples below.

1. Add "Notepad" to the right-click menu of the ". SYS" File"

Many friends often change Config. sys system configuration or modification. SYS file, but it is a little difficult to open each time (use Shift to select the "open mode" each time, if you choose to always open with "Notepad. SYS File ,. the icon of the SYS file will change, and it looks a little messy ). So you may wish to add "Notepad" to its right-click menu ".

The. SYS file cannot be found in the "Folder Options" in the preceding example. You need to modify it in the registry. Start the Registry Editor, enter the HKEY_CLASSES_ROOTSYSFileShell primary key, and create a primary key "Notepad" for the Shell ".

Create a primary key Command for "Notepad" and enter the new key value "C: Windows Notepad.exe % 1" for "default" (based on your own path ). After that, right-click the. SYS file and choose notepad from the shortcut menu.

2. Right-click the ". TXT" file and add "WordPad" to the menu"

Method 1: Use Folder Options to cleverly modify

In "Resource Manager" (or "my computer"), click "Folder Options" in the "View" menu, select "file type", and select ". TXT file "(Text Document), 1:

Figure 1

Then select "edit", create an "operation", enter the name "WordPad", and enter C: WindowsWrite.exe, after confirming, return to "Resource Manager", in. right-click the TXT file and you will find an additional "WordPad". You can also set "WordPad" as the default opening method. 2:

Figure 2

Method 2: Modify the Registry

You can also modify the registry. Start Registry Editor. Open the HKEY_CLASSES_ROOTTXTFileShell sub-key branch, create a primary key "WordPad" for the Shell primary key, and create a Command primary key for the "WordPad. Finally, enter the new key value "C: WindowsWrite.exe" (3) for "default" of the Command primary key, and close the registry editor.

Figure 3

3. Add "play" to the context menu of the ". DAT" File"

To add the "play" option to the right-click menu of the album file suffixed with ". dat", modify the Registry as follows:

Start Registry Editor. The datfile subkey cannot be found in the primary key of HKET_CLASSES_ROOT in the registry. In order to add a "play" item to the right-click menu of the. dat file (for example, play the file with "Super play"), we can find the ". dat" primary key under the HKEY_CLASSES _ ROOT subkey branch. Enter the key value "datfile" for "default ".

Create a primary key datfile and a secondary key Shell in the HKEY_CLASSES_ROOT subkey. Not all. dat files are all album files, in order not to "play". by default, the dat file is opened. You can first create a primary key Open and secondary key Command under Shell without entering any key value. Create the primary key "play" and secondary key Command in Shell, and then input the "default" key value "D: ShtvcdMmxvcd.exe" for Command (this is the complete path of super solution. 4:

Html "target = _ blank>

Figure 4

4. Right-click the menu and choose "weight loss"

With the increasing number of software installed on your computer, the right-click menu becomes increasingly bloated ". In this way, it is very troublesome to use the shortcut menu designed for quick purpose. What should I do? Right-click the menu and choose "weight loss! Below are two good "slimming" tips.

1: Fold the right-click menu into a multi-level menu

After WinRAR is installed, several projects will be appended to the context menu of standard files and folders. The following settings can compress all WinRAR context menu items to the WinRAR sub-menu level-2 menu: In the WinRAR main window, click "option> Settings". In the displayed "Settings" dialog box, click the "Comprehensive" tab, select the "cascade right-click Association menu" check box (5), and click "OK.

Figure 5

If you have multiple options for other software in the right-click menu on your computer, fold them into multi-level menus!

2: Clear unnecessary right-click menu

Some options in the right-click menu are not commonly used, or some software has been deleted, but the options in the right-click menu still occupy the screen space. To delete these useless right-click menu items, follow these steps:

Step 1: Click Start> Run, type regedit, and click OK to open the registry editor window.

Step 2: Expand the [HKEY_CLASSES_ROOT * shellexContextMenuHandlers] branch, locate the useless item to be deleted, right-click the item, click Delete to delete it to clear the corresponding options in the right-click menu. For the options available only in the context menu of the folder, you can find them under the [HKEY_CLASSES_ROOTDirecloryshell] and [HKEY_CLASSES_ROOTDirectoryshellexContextMenuHandlers] branches. Sometimes [IHKEY_CLASSES_ROOTFoldershell] and [HKEY_CLASSES_ROOTFoldershellexContextMenuHandlers] also have options in the right-click menu.

It is best to use Ctrl + F. In the Search dialog box, right-click the keyword in the ticket to be deleted, find the keyword, and then confirm the deletion.

After the above operations, right-click the menu and try again!

5. Add the disk fragment program in the right-click menu

With the increase in computer usage time, the number of disk fragments will also increase. Excessive disk fragments will affect the reading and writing speed of the hard disk, resulting in cluster connection errors. This will greatly affect the system efficiency of Windows, and the existence of disk fragments will cause the head to frequently move and read files, which will accelerate the hard disk loss and reduce its service life, therefore, it is necessary to sort disk fragments frequently. The "disk fragment program" attached to Windows is a good tool for File Fragment, in Windows, you can choose "start"> "All Programs"> "accessories"> "System Tools"> "disk fragment program" to use the software. However, this operation requires multiple clicks to complete, which is very troublesome. If you can add the "disk fragment program" to the right-click, it will save you a lot of trouble!

Open notepad and enter the following content:

[Version]
Signature = "$ Windows NT $"

[Defainstall install]
AddReg = Defrag

[Defrag]
HKCR, "DriveShellDefragcommand", "defrag.exe % 1"

Click the "Save as" command in the "file" menu to name the file defrag. inf and save it. Note: This file can be used directly in Windows 2000/XP/2003. However, if your operating system is Windows 95/98/Me, you can set the content of the second line as follows: signature = "$ Windows NT $" changed to signature = "$ CHICAGO $". You do not need to modify other content. In this INF file, each section must have a blank line, and the English Punctuation Marks must be used in the file. Remember!

Find the created defrag. inf file, right-click it, and select "Install" from the shortcut menu. Next, let's test the effect. In "my computer" or "Windows Resource Manager", right-click the disk you want to fragment, in the pop-up shortcut menu, you will see a new "Defrag" command (6), click it to start the "disk fragment program" program. Is this much more convenient? If you do not want this "defrag" command, you can remove it from the disk right-click menu. Click Start → run, type regedit, press enter to open the Registry Editor, and then delete the following branch in the Registry: HKEY_CLASSES_ROOTDriveshellDefrag.

Figure 6

The above section only describes the "Custom" Method for right-click menus of common types of files. If you are interested, you can use the above method to add right-click menus for different types of files according to your preferences, add your frequently-used operations to improve the efficiency of using your computer. From cainiao to prawns "!

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.