0
将下面注册表文件保存为reg文件双击导入即可实现windows下,对dll文件或者ocx文件点击鼠标右键进行注册与反注册的功能。
Windows Registry Editor Version 5.00
; ******************************************
; .DLL 文件部分
; ******************************************
[HKEY_CLASSES_ROOT\.dll]
"Content Type"="application/x-msdownload"
@="dllfile"
[HKEY_CLASSES_ROOT\dllfile]
@="Application Extension"
[HKEY_CLASSES_ROOT\dllfile\Shell\注册 DLL\command]
@="regsvr32.exe \"%1\""
[HKEY_CLASSES_ROOT\dllfile\Shell\反注册 DLL\command]
@="regsvr32.exe /u \"%1\""
; ******************************************
; .OCX 文件部分
; ******************************************
[HKEY_CLASSES_ROOT\.ocx]
@="ocxfile"
[HKEY_CLASSES_ROOT\ocxfile]
@="OCX"
[HKEY_CLASSES_ROOT\ocxfile\Shell\注册 OCX\command]
@="regsvr32.exe \"%1\""
[HKEY_CLASSES_ROOT\ocxfile\Shell\反注册 OCX\command]
@="regsvr32.exe /u \"%1\""
Windows Registry Editor Version 5.00
; ******************************************
; .DLL 文件部分
; ******************************************
[HKEY_CLASSES_ROOT\.dll]
"Content Type"="application/x-msdownload"
@="dllfile"
[HKEY_CLASSES_ROOT\dllfile]
@="Application Extension"
[HKEY_CLASSES_ROOT\dllfile\Shell\注册 DLL\command]
@="regsvr32.exe \"%1\""
[HKEY_CLASSES_ROOT\dllfile\Shell\反注册 DLL\command]
@="regsvr32.exe /u \"%1\""
; ******************************************
; .OCX 文件部分
; ******************************************
[HKEY_CLASSES_ROOT\.ocx]
@="ocxfile"
[HKEY_CLASSES_ROOT\ocxfile]
@="OCX"
[HKEY_CLASSES_ROOT\ocxfile\Shell\注册 OCX\command]
@="regsvr32.exe \"%1\""
[HKEY_CLASSES_ROOT\ocxfile\Shell\反注册 OCX\command]
@="regsvr32.exe /u \"%1\""
FLASH常用代码
CMD加密也有烦恼!

2007/04/15
16:06
1141

















