批处理文件(bat文件)注册dll
来源:互联网 发布:mac圣诞限量套装2017 编辑:程序博客网 时间:2024/04/29 21:30
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
- 批处理文件(bat文件)注册dll
- 批处理文件(bat文件)注册dll .
- 批处理文件(bat文件)注册dll批量注册dll
- 批处理文件(bat文件)注册dll批量注册dll
- 批处理文件(bat文件)注册dll批量注册dll
- 批处理文件(.bat文件)
- 注册dll的bat文件
- cmd 批处理文件(.bat)文件的编写
- Windows批处理文件(.bat文件)
- bat批处理注册dll
- 批处理文件语法大全(怎么写Bat文件)
- 【BAT】批处理文件 (持续更新)
- BAT批处理文件判断文件并执行
- Oracle bat批处理文件执行SQL文件
- bat批处理文件
- bat 批处理文件
- Bat批处理文件
- 批处理文件/.bat
- Spring MVC3 基本配置
- 用 Graphviz 可视化函数调用
- 第6周实验报告1
- Java文件路径(getResource)
- [MFC]程序外观修改
- 批处理文件(bat文件)注册dll
- svn重定位方法
- struts2注解方式实现数据验证
- 领测推出全套免费软件测试培训学习视频
- 优秀开发者必备的四种品质
- 去掉ckeditor+ckfinder去掉服务器浏览那一行
- word 设置单选框|复选框等 (英文版)
- Moss 之五母版页 布局页 Features[转贴]
- C#异常处理