当前位置: 首页 > 图文教程 > 脚本技术 > DOS/BAT > 批处理应用 "添加/删除程序"修复

DOS/BAT
批处理制作照片整理器
可以生成SLEEP.EXE的延时命令的bat文件
用bat批量创建文件夹
bat批处理实现的创建10个文件夹,文件夹再包含5个空文件夹
bat延时执行命令的另一种方法
windows服务操作之删除服务 批处理实现
批处理 远程控制
使用批处理修改web打印设置笔记 适用于IE
批处理 结束麦咖啡进程的代码
cmd fsutil 命令新建空文本文件
cmd Tasklist与Tskill管理Windows系统进程
批处理 正则表达式(findstr) 整理
bat 文件 学习使用指南
for 语句从入门到精通
dos 目录跳转 cd
tree 以树形格式罗列文件
dos 内容重定向
dos if 条件判断
dos 流程跳转 goto
dos 文件复制 copy命令

DOS/BAT 中的 批处理应用 "添加/删除程序"修复


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-09-11   浏览: 112 ::
收藏到网摘: n/a

复制代码 代码如下:

rem 如果“添加/删除程序”工具出错,显示的信息不完整或显示空白,可使用该脚本修复
regsvr32 -s %systemroot%\System32\Appwiz.cpl
regsvr32 -s %systemroot%\System32\Mshtml.dll
regsvr32 -s %systemroot%\System32\Jscript.dll
regsvr32 -s %systemroot%\System32\Msi.dll
regsvr32 -s %SystemDrive%\Program Files\Common Files\System\Ole DB\Oledb32.dll
regsvr32 -s %SystemDrive%\Program Files\Common Files\System\Ado\Msado15.dll
regsvr32 -s %systemroot%\System32\Msdart32.dll
regsvr32 -s %systemroot%\System32\Mshtmled.dll
regsvr32 -s %systemroot%\System32\Mswstr10.dll
regsvr32 -s %systemroot%\System32\Gdi32.dll
regsvr32 -s %systemroot%\System32\User32.dll
regsvr32 -s %systemroot%\System32\Msvcrt.dll
regsvr32 -s %systemroot%\System32\Ole32.dll
regsvr32 -s %systemroot%\System32\Shlwapi.dll
regsvr32 -s %systemroot%\System32\Imm32.dll
regsvr32 -s %systemroot%\System32\Indicdll.dll
regsvr32 -s %systemroot%\System32\Urlmon.dll
regsvr32 -s %systemroot%\System32\Version.dll
regsvr32 -s %systemroot%\System32\Lz32.dll
regsvr32 -s %systemroot%\System32\Comctl32.dll
regsvr32 -s %systemroot%\System32\Clbcatq.dll
regsvr32 -s %systemroot%\System32\Oleaut32.dll
regsvr32 -s %systemroot%\System32\Mlang.dll
regsvr32 -s %systemroot%\System32\Shell32.dll
regsvr32 -s %systemroot%\System32\Shdoclc.dll
regsvr32 -s %systemroot%\System32\NetapI32.dll
regsvr32 -s %systemroot%\System32\Secur32.dll
regsvr32 -s %systemroot%\System32\Netrap.dll
regsvr32 -s %systemroot%\System32\Samlib.dll
regsvr32 -s %systemroot%\System32\Ws2_32.dll
regsvr32 -s %systemroot%\System32\Ws2help.dll
regsvr32 -s %systemroot%\System32\Wldap32.dll
regsvr32 -s %systemroot%\System32\Dnsapi.dll
regsvr32 -s %systemroot%\System32\Wsock32.dll
regsvr32 -s %systemroot%\System32\Plugin.ocx
regsvr32 -s %systemroot%\System32\Wininet.dll
regsvr32 -s %systemroot%\System32\Crypt32.dll
regsvr32 -s %systemroot%\System32\Msasn1.dll
regsvr32 -s %systemroot%\System32\Msls31.dll
regsvr32 -s %systemroot%\System32\Imgutil.dll
regsvr32 -s %systemroot%\System32\Cscui.dll
regsvr32 -s %systemroot%\System32\Cscdll.dll