In daily operations, the right-click shortcut menu of Windows system plays a very important role, and the interface design of Vista's hidden menu bar further strengthens the function of the right-click menu. Therefore, if you want to improve work efficiency in the Vista system, you can personalize the right-click menu according to your own habits, thereby simplifying the original cumbersome operation process.
Practical Vista right-click menu
Many users know that the Vista system provides an extended set of right-click menus. When you select any file or folder, hold down the Shift key and click the right mouse button, you will see two hidden options from the pop-up menu: "Here Open a command window at" and "Copy as path". Among them, "Open command window here" can quickly open a command prompt window at the specified directory location; the "Copy as path" menu item can copy the address of a file or folder to the system clipboard. However, Vista's extended menu still cannot meet the needs of most people, and those commonly used operations can also be added to the right-click menu.
Open the EFS encryption and decryption menu
Run Regedit, open the registry editor, expand HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvanced, then create a new DWORD value named "EncryptionContextMenu" in the right pane, and set the key value to "1". After confirmation, press F5 to refresh the registry and exit. . At this time, the "Encryption" or "Decryption" items will be added to the right-click menu of the file or folder, through which you can quickly complete the file encryption and decryption operations.
Empty the Recycle Bin easily
Normally, you need to click the Recycle Bin icon to display the "Empty Recycle Bin" menu. If you want to clear the Recycle Bin by clicking the mouse anywhere on the desktop or a blank space in a folder window, you can do this by modifying the registry. Create a new item "" under the HKEY_CLASSES_ROOTDirectoryBackgroundShellexContextMenuHandlers branch of the registry, and exit after confirmation. In this way, you can quickly empty the Recycle Bin through the desktop right-click menu.
Copy/move to folder
Under the HKEY_CLASSES_ROOTAllFilesystemObjectsShellexContextMenuHandlers branch of the registry, create a new item "Copy To" and modify the default key value in the right pane to "". At this time, the "Copy to Folder" option will be added to the right-click menu. Similarly, create a new item "Move To" under the above registry branch, modify its default key value to "", and add the "Move To Folder" option to the right-click menu.
Register/unregister DLL files
Registering or unregistering DLL files is also a frequently used operation, so these two operations can also be integrated into the right-click menu. The specific method is: Create respectively named "Register" and "Unregister" under the HKEY_CLASSES_ROOTDllfileShell branch of the registry. subkey, modify the corresponding default key values to "Register DLL" and "Unregister DLL". Then, create subkeys named "Command" below the subkeys created above, and change the "Command" default key value of the registered DLL to "Regsvr32 %1"; and the "Command" default key value of the unregistered DLL. The value is changed to "Regsvr32 /u %1".
Quickly restart your computer
If you want to quickly restart the computer from the desktop, you can create a new item "Reboot" under the HKEY_CLASSES_ROOTDirectoryBackgroundshell branch of the registry, change the default key value in the right pane to "Restart Computer", and add the "Reboot" subkey Create a new item "Command" below, and then modify its default key value to "ShutDown -r -t 00".
Expand cascading menu
The right-click menu of Vista system also includes many cascading menus, such as "Send to", "Open with" and so on. These cascading menus can also be customized according to your own habits.
Customize the "Open with" menu
Vista's "Open With" menu item is a very useful one. For example, for the same video file, you can quickly call different players for playback through the "Open with" menu without modifying the file association. As long as a program is called to open a file through "Open with" "Select program", this program will be automatically added to the "Open with" item.
After the system has been used for a period of time, as the number of items in the "Open with" menu increases, the pop-up speed of the right-click menu will be slowed down. At this time, it is necessary to clean it up. Take the "Open With" menu for cleaning up AVI format files that is not recommended by the system as an example: run Regedit, open the registry editor, expand HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.avi in order, select the "OpenWithList" sub-item, and you can see from the right pane that the manual The added AVI files are not associated with various programs recommended by the system. Select the items that need to be cleaned, press the "DEL" key to delete them, and then exit the registry after refreshing.
Extended "Send to" menu
The "Send To" menu corresponds to a "SendTo" folder, which is located in the "%UserProfile%AppDataRoamingMicrosoftWindows" directory of the Vista system. The contents of this folder correspond to the options in the "Send To" cascading menu. . For example, create a folder named "MyBak" on drive E, then right-click and drag this folder into the "SendTo" folder, create a shortcut, and rename it to "Backup to MyBak". At this time, right-click the file in the resource manager, and then execute "Send to" and "Backup to MyBak" to quickly back up the file, which is fast and convenient.
Expanded "New" menu
For file types that have been registered in the Vista system, you can add a new "ShellNew" item under the corresponding extension of the HKEY_CLASSES_ROOT branch of the registry, and then specify the settings for how the system creates new files. The most commonly used ones are to add "NullFile" and " Command" value so that this file type can be added to the New cascading menu.
In the HKEY_CLASSES_ROOT.htm branch of the registry, create a new item "ShellNew", then create a new string value "NullFile", the key value is empty, press the F5 key to refresh the registry and exit. At this time, right-click on the desktop and open the "New" cascading menu. You can see that there is an additional item "HTML Document". When you need to delete useless file types in the "New" menu, just find the corresponding file extension from the registry, and then delete the "ShellNew" subkey under it.
Right-click menu classification adjustment
Careful friends will definitely find that some right-click menu items are only for a certain file type, folder type or drive, that is, the context menu will only appear when the corresponding object is clicked. For these specific right-click menus, you can customize them in the following ways.
Right-click menu for specified file type
In previous versions of Windows, adding or modifying the right-click menu of a specified file type could be done through the "Folder Options" "File Types" tab, while the "Default Programs" option replaced by the Vista system can only change the file type or protocol with It is associated with a specific program and cannot customize the right-click menu. Therefore, users need to manually modify the registry to add or delete the right-click menu for specific file types in Vista systems.
Vista's "Default Programs" option can only associate a file type or protocol with a specific program and cannot customize the right-click menu.
To give a simple example, to add an "Edit" item to the right-click menu of a .pls (playlist) file, the method is: create a new subkey named "Edit" under the HKEY_CLASSES_ROOTPlsfileShell branch of the registry, and modify the default key value to " Edit" and create a subkey below it named "Command", then edit the default key value in the right pane to "Notepad %1", confirm and refresh the registry to exit.
Right-click menu of file class objects
Adding right-click menu options for file objects can also be achieved by modifying the registry. For example, add a "Cancel File Attributes" item to the right-click menu of all files to cancel the read-only, hidden, and system attributes of the files. Run Regedit, create a new item "HRS" under the HKEY_CLASSES_ROOT*Shell branch of the registry, modify its default key value to "Cancel file attributes", then create a new item under "HRS", name it "Command", and change the right Change the default key value in the side pane to "Attrib -h -r -s %1", confirm and exit. Now, right-click any file and execute "Cancel File Attributes" to eliminate various attributes of this file at once.
Right-click menu of folder-like objects
To add right-click menu options for folder objects, you can use the above method to perform the same settings under the [HKEY_CLASSES_ROOTDirectoryShell] branch of the registry. For example, to add an item "Open in new window" to the right-click menu of a folder, the method is: create a new item "NewWindow" under the HKEY_CLASSES_ROOTDirectoryShell branch of the registry, modify its default key value to "Open in new window", and then Create a new item "Command" below "NewWindow", change the default key value in the right pane to "Explorer %1", confirm and refresh the registry to exit. In this way, you can open a new window for the folder in the explorer window through the menu created above.
Right-click menu for drive class objects
If you want to quickly activate the screen saver, you can enter the screen saver into the right-click menu of the drive. The method is: create a new item "LoadSCR" under the HKEY_CLASSES_ROOTDriveShell branch of the registry, modify its default key value to "screen saver", and add another item under this item. Create a new item "Command", set the default key value in the right pane to "Scrnsave.scr /s", and exit the Registry Editor after confirmation. At this time, right-click any drive and select "Screen Saver" from the menu to run the screensaver program directly.
Right-click menu for all files and folders
If you want to add specific menu items to the right-click menu of all files and folders, you can expand HKEY_CLASSES_ROOTAllFilesystemObjects in the registry editor, and then create a new "Shell Command Command" in sequence. For the operation method, you can refer to the example introduced earlier.
Clean and optimize right-click menu
Customizing the right-click menu according to your own operating habits in the Vista system can avoid the original cumbersome operations and improve work efficiency. However, too many right-click menus will also slow down the system's response speed. Especially when many software are installed, they will add their own shortcut menus to the system, causing the system's right-click menu to be bloated and unresponsive. So, how to clean and optimize the right-click menu?
The right-click menu of commonly used software can be optimized through option settings. For example, WinRAR allows users to collapse the shell context menu. This option is included in the "Options", "Settings" and "Comprehensive" tabs. On the other hand, users can also use some system auxiliary tools, such as Vista Optimization Master, Super Rabbit, etc. to clean and optimize the system's right-click menu. For some difficult right-click menu options, the specific situation must be analyzed and then manually performed. Clean up.
-