分类:
2008-10-13 16:33:41
拷贝如下内容到文本文件,保存后改后缀为reg,双击导入注册表
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\dllfile\shell]
[HKEY_CLASSES_ROOT\dllfile\shell\Register ActiveX]
[HKEY_CLASSES_ROOT\dllfile\shell\Register ActiveX\command]
@="regsvr32.exe %1"
[HKEY_CLASSES_ROOT\ocxfile\shell]
[HKEY_CLASSES_ROOT\ocxfile\shell\Register ActiveX]
[HKEY_CLASSES_ROOT\ocxfile\shell\Register ActiveX\command]
@="regsvr32.exe %1"
要加入取消注册功能,用如下内容:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\dllfile\shell]
[HKEY_CLASSES_ROOT\dllfile\shell\UnRegister ActiveX]
[HKEY_CLASSES_ROOT\dllfile\shell\UnRegister ActiveX\command]
@="regsvr32.exe /u %1"
[HKEY_CLASSES_ROOT\ocxfile\shell]
[HKEY_CLASSES_ROOT\ocxfile\shell\UnRegister ActiveX]
[HKEY_CLASSES_ROOT\ocxfile\shell\UnRegister ActiveX\command]
@="regsvr32.exe /u %1"
posted on 2004-11-11 01:16 逍遥万里 阅读(1088)