为什么说无法植入dii文件

来源:百度知道 编辑:UC知道 时间:2024/09/21 06:49:12

要注册 语法

regsvr32 [/u] [/s] [/n] [/i[:cmdline]] dllname

参数

/u - 未注册服务器

/s - 安静方式运行;不显示任何消息框

/n - 指定不调用 DllRegisterServer ;此选项必须与 /i 一起使用

/i - 调用 DllInstall 将它传递到可选的 [cmdline] ;跟 /u 一起使用时,卸载dll

dllname - 指定要注册的 dll 文件名

例1:注册test.dll文件
regsvr32 C:\test.dll

例2:反注册zipfldr.dll文件,不加目录则默认是系统目录
regsvr32 /u zipfldr.dll

批处理重新注册dll

for %1 in (%windir%\system32\*.dll) do regsvr32.exe /s %1