Software greening registry right-click menu

  
        When the Unlocker 1.9.1 was greened, after the greening, the system right-click menu was found to be gone, so the registry was studied. Only then found that adding a right-click menu to the system is actually very simple. Right-click menu 1 Add a right-click menu to all files HKEY_CLASSES_ROOT\\*\\shell\\program name\\command Add a menu to the right-click of all files eg reg add "HKEY_CLASSES_ROOT\\*\\shell\\Unlocker 1.9.1\\command" /ve /d "\\"%cd%\\Unlocker.exe\\" %%0 " /f Add the Unlocker menu to the right mouse button of all files, reg add "HKEY_CLASSES_ROOT\\*\\shell\ otepad++\\command" /ve /d "\\"%cd%\ otepad++.exe\\" %%0 " /f Add the notepad++ menu to the right mouse button. Add the right-click menu on all folders HKEY_CLASSES_ROOT\\Directory\\\\shell\\program name\\ Command Adds a menu to the right button of all files. For example, reg add "HKEY_CLASSES_ROOT\\Directory\\shell\\Unlocker 1.9.1\\command" /ve /d "\\"%cd%\\Unlocker.exe\\" %%V " ; /f Add a right-click menu on all drives HKEY_CLASSES_ROOT\\Drive\\\\shell\\program name\\command Add a menu to the right-click of all files eg reg add "HKEY_CLASSES_ROOT\\Directory\\sh Ell\\Unlocker 1.9.1\\command" /ve /d "\\"%cd%\\Unlocker.exe\\" %%V " /f Although the folder and Directory and Drive Drive are the same for us However, it is still a bit different here. If you do not add the right button on the drive letter on HKEY_CLASSES_ROOT\\Drive\\\\shell\\, there is no right-click menu, which is a little bit of experimentation. In fact, there is a HKEY_CLASSES_ROOT\\fold\\shell\\ no guide what is used. Unlocker 1.9.1 green bat file [plain] regsvr32 /s UnlockerCOM.dll reg add "HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Unlocker" /v Language /t REG_SZ /d "2052" /f> NUL cd /d %~dp0 reg add "HKEY_CLASSES_ROOT\\*\\shell\\Unlocker 1.9.1\\command" /ve /d "\\"%cd%\\Unlocker.exe\\" %%0 " /f Reg add "HKEY_CLASSES_ROOT\\Directory\\shell\\Unlocker 1.9.1\\command" /ve /d "\\"%cd%\\Unlocker.exe\\" %%V " /f reg add "HKEY_CLASSES_ROOT\\Drive \\shell\\Unlocker 1.9.1\\command" /ve /d "\\"%cd%\\Unlocker.exe\\" %%V " /f
Copyright © Windows knowledge All Rights Reserved