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

DOS/BAT
为cmd设置密码的批处理
把下一行的数字复制到前面一行的后面,并用空格分开的批处理
批处理 保留空行替换字符串
批处理 文件归类整理器
批处理 文件归类整理器(当面目录)
批处理 删除重复行的代码
批处理 字符串去空格实现代码[不同部位]
去掉字符串头所有的0的批处理
反序列出文本的每行内容的批处理
反序显示输入内容批处理
把多行文本拼接成用;连接的一行的批处理
把某个目录下所有txt中第三行第四个数字相加
把首行和尾行互换的批处理
拼接相临的奇偶行文本内容
把两个文件中的不同之处提取到某个文件中去
显示只有指定个数字符的行
显示某两个字符及之间的字符
显示随机的5个数
查找偶数行内容的批处理
查找行中的第一个数据串

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


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-09-11   浏览: 107 ::
收藏到网摘: 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