批处理文件(bat文件)注册dll批量注册dll
2012-08-04 10:00
141 查看
1)注册
@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)重新注册
@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)反注册
@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批量注册dll
- 批处理文件(bat文件)注册dll批量注册dll
- 批处理文件(bat文件)注册dll批量注册dll
- 批处理文件(bat文件)注册dll
- 注册dll的bat文件
- 批处理文件(bat文件)注册dll .
- “RegSvr32 已加载mshtml.dll,但没有找到DllRegisterServer输入点。无法注册这个文件。”解决办法全集
- 工作总结之DLL注册
- 重新注册DLL 修复Windows操作系统故障
- DLL文件注册时遇到的麻烦
- 批量注册dll或ocx文件
- 在Windows7系统下注册 "*. DLL" 格式系统文件
- CLR程序集-怎么把一个dll注册到SQL SEVER
- PB实现自动判断并注册Dll/OCX控件
- 注册、反注册dll regsvr32命令详解
- 注册DLL、OCX的方法
- NSIS注册dll,ocx
- windows7 64位下运行 regsvr32 注册ocx或者dll的方法
- Vb6免注册调用dm.dll
- VC ++ 注册DLL