Vista system setup tips: custom personalized right-click menu

  
        In daily operations, the right-click menu of the Windows system plays a very important role, and the interface design of Vista's hidden menu bar further enhances the function of the right-click menu. Therefore, in order to improve work efficiency in the Vista system, you can customize the right-click menu according to your own habits, thus simplifying the original cumbersome operation process. Practical Vista Right-Click Menu Many users know that the Vista system provides a set of extended right-click menus. When selecting any file or folder, hold down the Shift key and right-click. You will see two hidden from the pop-up menu. Options: "Open command window here" and "Copy as path". Among them, "Open command window here" can quickly open the command prompt window of the specified directory location; the "Copy as path" menu item can copy the address of the file or folder to the system clipboard. However, Vista's extended menus still don't 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 and run Regedit, open the registry editor, expand HKEY_LOCAL_MacHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvanced, and then create a new DWord value of "EncryptionContextMenu" in the right pane, and set the key value to "1" to confirm Then press F5 to refresh the registry and exit. At this point, the “Encryption” or “Decryption” items will be added to the right-click menu of the file or folder, and the file can be quickly encrypted and decrypted. Emptying the Recycle Bin at Any Time Normally, you need to click the Recycle Bin icon to bring up the Empty Trash menu. If you want to empty the recycle bin with a click of the mouse in the blank space of the desktop or folder window, you can do so by modifying the registry. Create a new item "" under the HKEY_CLASSES_ROOTDirectoryBackgroundShellexContextMenuHandlers branch of the registry, and exit after confirming. In this way, the recycle bin can be quickly emptied 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", modify the default key value in the right pane to "", then 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 "", you can add the "move to folder" option in the right-click menu.
Register/Unregister DLL Files
Registering or unregistering DLL files is also an operation that is often used, so you can integrate these two operations into the right-click menu by: under the HKEY_CLASSES_ROOTDllfileShell branch of the registry. Create sub-items named "Register" and "Unregister" respectively, and modify the corresponding default key values ​​to "register DLL" and "anti-register DLL". Then, in the sub-item created above, create a sub-item named "Command", and change the "Command" default key value of the registration DLL to "Regsvr32 %1"; and the "Command" default key of the anti-registration DLL The value is changed to "Regsvr32 /u %1". To restart the computer quickly, 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 of the right pane to "restart the computer", and in "Reboot" Create a new item "Command" under the subkey and modify its default key value to "ShutDown -r -t 00". Expanding Cascading Menus The Vista system's context menu also includes a number of cascading menus such as "Send to", "Open with" and more. For these cascading menus, you can also customize them according to your own habits. Customizing the "Open With" menu Vista's "Opening Method" is a useful menu item. For example, for the same video file, you can quickly call different players for playback through the Open With menu, without having to modify the file association. This program is automatically added to the Open With project whenever a file is opened by calling a program via Open Method Select Program.
When the system is used for a period of time, as the number of items in the "Open Mode" menu increases, the pop-up speed of the right-click menu will be slowed down, and it is necessary to clean it up. For example, to clean up the AVI format file, the "Open Mode" menu is recommended. Run Regedit, open the Registry Editor, expand HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.avi, select the "OpenWithList" sub-item, and you can see it from the right pane. The added AVI files are not systematically recommended for various associated programs. Select the item to be cleaned, press the "DEL" button to delete, refresh and exit the registry.
Extension "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 " Send to the option in the Cascade menu. For example, create a folder named "MyBak" on the E drive, then drag the folder into the "SendTo" folder with the right button, create a shortcut, and rename it to "Backup to MyBak." At this time, right-click the file in the Explorer and then execute “Send To” “Backup to MyBak” to quickly back up the file, which is fast and convenient. Expand the "New" menu For the file types already registered in the Vista system, you can add a new "ShellNew" item under the corresponding extension of the registry HKEY_CLASSES_ROOT branch, and then specify the system how to create a new file settings, the most common is to join The "NullFile" and "Command" values ​​so that you can add this file type to the "New" cascading menu. In the registry HKEY_CLASSES_ROOT.htm branch, create a new item "ShellNew", and then create a new string value "NullFile", the key value is empty, press F5 to refresh the registry and exit. At this time, right click on the desktop to open the "New" cascading menu, you can see that there is an extra "Html document". When you need to delete the useless file type in the "New" menu, just find the corresponding file extension from the registry, and then delete the "ShellNew" sub-item under it. Right-click menu sorting adjustment Careful friends will definitely find that some right-click menu items are only for a file type, folder type or drive, that is, the context menu will only appear when the corresponding object is clicked. The Computer Network Academy (http://www.pcedu123.com) reminds you that these specific right-click menus can be customized by the following methods. Right-click menu for specifying file types In previous versions of Windows, adding or modifying the right-click menu for a specified file type can be done through the "Folder Options" and "File Types" tabs, and the "default program" option replaced by the Vista system can only Associating a file type or protocol with a specific program does not allow you to customize the context menu. Therefore, the user needs to manually modify the registry to add or remove the right-click menu of the specific file type of the Vista system.
Vista's "Default Program" option only associates file types or protocols with specific programs and does not customize the context menu. To give a simple example, add an "Edit" item to the right-click menu of the .pls (playlist) file by creating a new subkey named "Edit" under the HKEY_CLASSES_ROOTPlsfileShell branch of the registry, and modifying the default key value. Edit, and create a sub-item under its name, called "Command", and then edit the default key value in the right pane is "Notepad %1", after confirming, refresh the registry to exit.
The right-click menu of the file class object Adding the right-click menu option to the file class object can also be implemented by modifying the registry. For example, add a "Cancel File Attribute" to the right-click menu of all files to cancel the read-only, hidden, and system properties of the file. 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 attribute", and then create a new item in the subordinate "HRS", named "Command", right The default key value in the side pane is changed to "Attrib -h -r -s %1", and exit after confirmation. Now, right-click on any file and execute Cancel File Properties to remove the various properties of this file at once. Right-click menu of the folder class object Add the right-click menu option to the folder class object, you can use the above method to make the same settings under the registry [HKEY_CLASSES_ROOTDirectoryShell] branch. For example, add a "Open in new window" to the right-click menu of the folder by creating a new item "NewWindow" under the HKEY_CLASSES_ROOTDirectoryShell branch of the registry, modifying its default key value to "Open in new window", and then Create a new item "Command" in the lower level of "NewWindow", change the default key value in the right pane to "Explorer %1", and then refresh the registry to exit. In this way, in the Explorer window, you can open a new window for the folder through the menu created above. Right-click menu of the driver class object If you want to quickly activate the screen saver, you can enter the screen saver into the right-click menu of the drive by creating a new item "LoadSCR" under the HKEY_CLASSES_ROOTDriveShell branch of the registry and modifying its default key value to "screen saver". Then create a new item "Command" in the subordinate, set the default key value in the right pane to "Scrnsave.scr /s", and then exit the registry editor after confirming. At this time, right-click on any drive and select “Screen Saver” from the menu to run the screen saver directly. Right-click menu of 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", the operation method can be Refer to the example described earlier. Clean and optimize the right-click menu In the Vista system, you can customize the right-click menu according to your own operating habits to avoid the cumbersome operation and improve work efficiency. However, more than the right-click menu will slow down the system response speed, especially when many software is installed, it will add its own shortcut menu in the system, resulting in the system's right-click menu is bloated and unresponsive. So how do you clean and optimize the right-click menu? The context menu for commonly used software can be optimized with option settings. For example, WinRAR allows the user to collapse the shell context menu. This option is included in the Options, Settings, and Synthesis tabs. On the other hand, users can also use the system aids, such as Vista optimization master, super rabbit, etc. to clean and optimize the system's right-click menu, and for some difficult right-click menu options, analyze the specific situation and then manually Clean up.


Copyright © Windows knowledge All Rights Reserved