//将下面内容保存为.reg文件,导入注册表即可
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.dll]
@="dllfile"
[HKEY_CLASSES_ROOT\.ocx]
@="dllfile"
[HKEY_CLASSES_ROOT\dllfile]
@="Dynamic Component"
[HKEY_CLASSES_ROOT\dllfile\shell]
[HKEY_CLASSES_ROOT\dllfile\shell\reg]
@="Regist..."
[HKEY_CLASSES_ROOT\dllfile\shell\reg\command]
@="\"regsvr32.exe\" \"%1\""
[HKEY_CLASSES_ROOT\dllfile\shell\unreg]
@="Unregist..."
[HKEY_CLASSES_ROOT\dllfile\shell\unreg\command]
@="\"regsvr32.exe\" /u \"%1\""