OCX添加右键菜单:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT.ocx]
@= "ocxfile"
[HKEY_CLASSES_ROOTocxfileshellRegister Componentcommand]
@= "regsvr32 %1"
[HKEY_CLASSES_ROOTocxfileshellUnRegister Componentcommand]
@= "regsvr32 -u %1"
文件夹添加右键菜单:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINESOFTWAREClassesFoldershell egsvr32]
@="regsvr32"
[HKEY_LOCAL_MACHINESOFTWAREClassesFoldershell egsvr32command]
@="regsvr32 %1"