批处理文件(bat文件)注册dll
2012-03-27 15:13
176 查看
1)注册
Regist.bat
@echo 开始注册
net stop iisadmin /y
@echo 跳转到当前批处理文件路径
cd %~dp0
copy DynamicGif.dll %windir%\system32
regsvr32 %windir%\system32\DynamicGif.dll /s
copy ImageOle.dll %windir%\system32
regsvr32 %windir%\system32\ImageOle.dll /s
net start w3svc
@echo 注册成功
@pause
2)重新注册
ReRegist.bat
@echo 重新注册
net stop iisadmin /y
@echo 跳转到当前批处理文件路径
cd %~dp0
regsvr32/u %windir%\system32\DynamicGif.dll /s
del %windir%\system32\DynamicGif.dll
copy DynamicGif.dll %windir%\system32
regsvr32 %windir%\system32\DynamicGif.dll /s
regsvr32/u %windir%\system32\ImageOle.dll /s
del %windir%\system32\ImageOle.dll
copy ImageOle.dll %windir%\system32
regsvr32 %windir%\system32\ImageOle.dll /s
net start w3svc
@echo 重新注册成功
@pause
3)反注册
UnRegist.bat
@echo 删除注册
net stop iisadmin /y
@echo 跳转到当前批处理文件路径
cd %~dp0
regsvr32/u %windir%\system32\DynamicGif.dll /s
del %windir%\system32\DynamicGif.dll
regsvr32/u %windir%\system32\ImageOle.dll /s
del %windir%\system32\ImageOle.dll
net start w3svc
@echo 删除注册成功
@pause
Regist.bat
@echo 开始注册
net stop iisadmin /y
@echo 跳转到当前批处理文件路径
cd %~dp0
copy DynamicGif.dll %windir%\system32
regsvr32 %windir%\system32\DynamicGif.dll /s
copy ImageOle.dll %windir%\system32
regsvr32 %windir%\system32\ImageOle.dll /s
net start w3svc
@echo 注册成功
@pause
2)重新注册
ReRegist.bat
@echo 重新注册
net stop iisadmin /y
@echo 跳转到当前批处理文件路径
cd %~dp0
regsvr32/u %windir%\system32\DynamicGif.dll /s
del %windir%\system32\DynamicGif.dll
copy DynamicGif.dll %windir%\system32
regsvr32 %windir%\system32\DynamicGif.dll /s
regsvr32/u %windir%\system32\ImageOle.dll /s
del %windir%\system32\ImageOle.dll
copy ImageOle.dll %windir%\system32
regsvr32 %windir%\system32\ImageOle.dll /s
net start w3svc
@echo 重新注册成功
@pause
3)反注册
UnRegist.bat
@echo 删除注册
net stop iisadmin /y
@echo 跳转到当前批处理文件路径
cd %~dp0
regsvr32/u %windir%\system32\DynamicGif.dll /s
del %windir%\system32\DynamicGif.dll
regsvr32/u %windir%\system32\ImageOle.dll /s
del %windir%\system32\ImageOle.dll
net start w3svc
@echo 删除注册成功
@pause
相关文章推荐
- 批处理文件(bat文件)注册dll .
- 批处理文件(bat文件)注册dll批量注册dll
- 批处理文件(bat文件)注册dll批量注册dll
- 批处理文件(bat文件)注册dll批量注册dll
- 注册、反注册dll文件,regsvr32命令详解
- java调用dll文件处理过程
- 现在介绍一种使用资源文件,将dll、ocx打包进exe,点击直接注册的例子:
- windows 系统注册dll文件
- 如何注册DLL、 进程/文件详细信息
- 主题:CS0016: 未能写入输出文件“c:/WINDOWS/Microsoft.NET/***.dll”错误处理[转载]
- 批量注册dll或ocx文件
- 在win10中注册老的的DLL文件
- 如何重新注册system32下所有的dll文件
- 关于ubuntu的“没有为此类型文件注册相应的处理程序”
- 教你如何注册DLL或OCX文件
- 黑客技巧之如何注册DLL或OCX文件
- 注册DLL文件解决IE文本框不能输入
- DLL文件简介和处理
- 一次注册所有dll文件(超实用的解决内存不能为read等问题)
- 未能写入输出文件“c:/WINDOWS/Microsoft.NET/***.dll”错误处理