Chinaunix首页 | 论坛 | 博客
  • 博客访问: 381417
  • 博文数量: 715
  • 博客积分: 40000
  • 博客等级: 大将
  • 技术积分: 5005
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-13 14:46
文章分类

全部博文(715)

文章存档

2011年(1)

2008年(714)

我的朋友

分类:

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)   


--------------------next---------------------

阅读(170) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~