Qter 发表于 2023-6-18 12:51:26

自定义右键菜单

https://www.guidingtech.com/how-to-customize-right-click-menu-windows-11/
Windows 11 has entirely refreshed the right-click or the context menu in Windows 11 and has replaced it with a completely new menu. While this new redesign has removed some unnecessary shortcuts and options, the new look can be a bit daunting at first. Thankfully, it can be easily customized to suit your needs.https://www.guidingtech.com/wp-content/uploads/How-to-Customize-the-Right-Click-Menu-in-Windows-11_4d470f76dc99e18ad75087b1b8410ea9.jpgThere are two ways to go about it. You can either revert to the old Windows 10 style context menu and add your favorite app list. Or, you can add the new apps directly. The only catch is that the apps will appear when you click on Show more options.Either way, you can add and remove apps as per your preference.Here’s how to change and customize the right-click menu in Windows 11.HOW TO BRING BACK THE OLD CONTEXT MENU IN WINDOWS 11

The ‘Show More Options’ option is annoying. For example, I have to click numerous times to send a file to my phone. And when that happens a dozen times in a day, it can get annoying.There are two ways to bring back the old Windows 10 context menu. You can either edit the Registry Editor entries. Or, you can tweak the Registry keys directly via Command Prompt. The second step is easy.The Windows Registry Editor is the hub of all Windows settings. And if you know the right key and value, you can customize some parts of your PC as per your preference.https://www.guidingtech.com/wp-content/uploads/How-to-Customize-the-Right-Click-Menu-in-Windows-11-01_4d470f76dc99e18ad75087b1b8410ea9.pngHowever, editing the Registry Editor is no child’s play, and playing with the wrong key & value set may break your computer.Note: Take a backup of the Registry before you make any changes.Step 1: Click on the Windows button, type regedit and hit Enter to open the Registry Editor.Step 2: Navigate to the following path:HKEY_CURRENT_USER\Software\Classes\CLSID

Step 3: Once the path opens, right-click and select New > Key.https://www.guidingtech.com/wp-content/uploads/How-to-Customize-the-Right-Click-Menu-in-Windows-11-1_4d470f76dc99e18ad75087b1b8410ea9.pngThis will create a new key on the left panel. Once done, rename the key with the following name,{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}Step 4: Select the newly-created key, and then right-click on the right panel, and choose New > Key.Now, rename the newly created key to the name below,InprocServer32https://www.guidingtech.com/wp-content/uploads/How-to-Customize-the-Right-Click-Menu-in-Windows-11-3_4d470f76dc99e18ad75087b1b8410ea9.png

Step 5: Select the newly-created InprocServer32 folder and right-click on the Default value. Once done, select Modify.Keep the Value Data field empty and hit the Ok button.https://www.guidingtech.com/wp-content/uploads/How-to-Customize-the-Right-Click-Menu-in-Windows-11-4_4d470f76dc99e18ad75087b1b8410ea9.pngAll you need to do is restart your Windows 11 laptop/PC to be welcomed with the old context menu.https://www.guidingtech.com/wp-content/uploads/How-to-Customize-the-Right-Click-Menu-in-Windows-11-9_4d470f76dc99e18ad75087b1b8410ea9.png

To bring back the new context menu, delete the InprocServer32 key.ALTERNATE ROUTE: VIA COMMAND PROMPTIf you do not want to mess around with the Keys and Values, you can add the keys directly via Command Prompt.Step 1: Open Command Prompt and paste the following command:reg add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /vehttps://www.guidingtech.com/wp-content/uploads/How-to-Customize-the-Right-Click-Menu-in-Windows-11-5_4d470f76dc99e18ad75087b1b8410ea9.pngThis simple action will add both the keys in the correct sequence.Step 2: Restart the computer and that’s about it.This is a much faster method.HOW TO ADD AND CUSTOMIZE THE RIGHT-CLICK MENUOnce you have the old context menu, you can tweak it to add a couple of your frequently-used apps. The apps will appear in the first menu, saving you time in the long run.

Do note that you can add only apps and not folders and files. For the latter, you have to take the aid of the Taskbar.Like the method above, adding apps to the context menu in Windows 11 also involves editing the Registry entries. We’ll be adding two apps in our example, namely Notepad and Calculator.Step 1: Open the Registry Editor and navigate to the path below:HKEY_CLASSES_ROOT\Directory\Background\shellhttps://www.guidingtech.com/wp-content/uploads/How-to-Customize-the-Right-Click-Menu-in-Windows-11-6_4d470f76dc99e18ad75087b1b8410ea9.pngStep 2: Right-click on the right panel, and add a new Key. Name it ‘Notepad.’https://www.guidingtech.com/wp-content/uploads/How-to-Customize-the-Right-Click-Menu-in-Windows-11-7_4d470f76dc99e18ad75087b1b8410ea9.png

Double-click on Default and add ‘&Notepad’ under Value data.https://www.guidingtech.com/wp-content/uploads/How-to-Customize-the-Right-Click-Menu-in-Windows-11-8_4d470f76dc99e18ad75087b1b8410ea9.pngStep 3: Select the newly created key, and right-click again to add a new key underneath the Notepad folder. Rename it as ‘command.’https://www.guidingtech.com/wp-content/uploads/2021-12-10_18-20-49_4d470f76dc99e18ad75087b1b8410ea9.pngDouble-click to modify the Value and add the following under Value data.Notepad.exehttps://www.guidingtech.com/wp-content/uploads/How-to-Customize-the-Right-Click-Menu-in-Windows-11-11_4d470f76dc99e18ad75087b1b8410ea9.png

Head back to the desktop and right-click to see the new values in the context menu.Repeat the steps to add apps like Calculator or MS Word.https://www.guidingtech.com/wp-content/uploads/How-to-Customize-the-Right-Click-Menu-in-Windows-11-10_4d470f76dc99e18ad75087b1b8410ea9.pngNote: To remove an app from the right-click menu in Windows 11, remove the entries under the Shell folder.Again, we’d advise you to take a backup before you remove any keys.You can also add the apps directly to the right-click menu in Windows 11 without reverting to the old menu,

Qter 发表于 2023-6-18 14:11:32

https://www.webnots.com/3-ways-to-customize-right-click-menu-in-windows-10/

The right-click menu, also known as “Context Menu” appears when you press the right button of your mouse. The context menu will give you more shortcuts over the selected item. You can also open the context menu by pressing the keyboard key if the relevant key is available on your computer’s keyboard. You can right click on the desktop, a file, folder or a program in Windows PC. This article explores various methods of personalizing the right-click menu in Windows 10 or 11. Also, learn how to add Save As menu in macOS Apps.Why Should You Modify Right Click Menu?Below is a sample menu that will appear when right-clicking on the empty area of File Explorer.https://img.webnots.com/2019/02/Context-Menu.pngRight Click Context Menu
Remember, different applications installed on your PC may modify menu items in the context menu. Though very helpful when you want to perform various actions on a file or an app, the context menu can be overloaded with so many options that you do not even use. However, you can customize it by either removing, adding or renaming some of the context menu items in Windows.https://a.pub.network/core/imgs/fslogo-green.svg



1. Customizing Context Menu From Registry Editor
[*]Press the “Win + R” keys on the keyboard, on the “Run” utility, type “regedit” and then click “Ok”.
https://img.webnots.com/2019/02/Open-Regedit.pngOpen Regedit

[*]On the “Registry Editor”, click the arrow beside the “HKEY_CLASSES_ROOT” folder.
https://img.webnots.com/2019/02/Expand-Registry-Keys.pngExpand Registry Keys

[*]Let us say you want to remove a context menu item, like “Open with”. Expand the folder path “* > shellex > ContextMenuHandlers”.
[*]Look for the item you want to remove “Open With”, right click it and select “Delete” from the list. This will remove the key, its sub-keys and the option will not appear when you right-click a file.
https://img.webnots.com/2019/02/Remove-Item.pngRemove Item
Adding Context Menu Item
[*]Another way to personalize the context menu is to add your own command to facilitate action(s). For instance, we can add a new item “Chrome” on the menu list.
[*]Under the “*” or unknown keys, select and right click the “Shell” keys, hover the mouse over “New” and from the expanded options choose “Key”.
https://img.webnots.com/2019/02/Add-Key.pngAdd Key

[*]Rename the key to “Chrome” and then repeat the process to create a sub-key for this new key.
[*]Rename the sub-key to “Command”.
https://img.webnots.com/2019/02/Add-Command.pngAdd Command

[*]Click the created sub-key and on the right-side panel double-click “(Default)” to add the command.
[*]Under the “Value data” text box, enter the command you want the item to execute such as path and the name of a program it will execute (in this case path for Chrome) and add the name of the executable file at the end of the command.
https://img.webnots.com/2019/02/Value-Data-Command.pngValue Data Command

[*]Close the registry editor and then right click a file to confirm whether the new entry, “Chrome” displays on the context menu.
https://img.webnots.com/2019/02/Chrome-Added.pngChrome Added

[*]If you click it, the Google Chrome browser will open.
2. Add or Remove Item in “Send to” Context Menu
[*]You can add or remove an item from the “Send to” menu options.
https://img.webnots.com/2019/02/Send-to-Context-Menu.pngSend to Context Menu

[*]Open “Run” by pressing “Win + R” keys on the keyboard, type “shell: send to” and click “Ok”.
https://img.webnots.com/2019/02/Send-to-Menu.pngSend to Menu

[*]Right click an empty space and go to “New” from the options. Here you have the option to add a program, a new folder or a shortcut to an app or a folder.
[*]You can add an option to send a file to a specific contact. Select “Contact”, add the contact and enter the details and then click “Ok”.
https://img.webnots.com/2019/02/Contact-Details.pngContact Details

[*]The new item will be added to the “Send to” menu.
https://img.webnots.com/2019/02/Contact-Option.pngContact Options
3. Customize Using Third-Party Context Menu EditorsUsing the “Registry Editor” can be difficult as you need to know the specific key for a given menu item or the command for the item you need to add. Another simple way is to use trusted third party menu editors for Windows 10. Many free context menu editors enable you to view and edit the items on the menu.https://a.pub.network/core/imgs/fslogo-green.svg



Some of the popular right click menu editors are:
[*]Right-Click Extender for Windows.
[*]Context Menu Editor for Windows.
[*]Ultimate Windows Customizer.
ConclusionThe right click menu provides more commands to help you perform various activities on a given file or program. However, sometimes the menu item may be cluttered with items that you never use or need. Luckily, you can personalize the context menu by adding or removing some of the options either through the Windows Registry Editor, or using free third party software. Either method will give you full control of the context menu option, thus enhance your productivity with Windows 10 / 11.
页: [1]
查看完整版本: 自定义右键菜单