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

DOS/BAT
Compact 显示和更改 NTFS 分区上的文件或目录压缩
Del (erase) 删除指定文件
Convert 将 FAT 和 FAT32 卷转换为 NTFS
copy 将一个或多个文件从一个位置复制到其他位置
Country使 MS-DOS 子系统能使用国际时间、日期、货币、大小写转换和小数分隔符
format命令 参数说明
Xcopy 复制文件和目录,包括子目录。
一个命令行(批处理)延迟执行命令的语法
收集21个DOS常用命令
dos、bat批处理延时执行命令的两种方法
CMD下建立虚拟目录的方法
关于批处理中FOR语句的使用说明与学习技巧
以后经常需要知道CMD/DOS下符号的作用参考,正好发现了这篇
由一段批处理程序所引起的探讨感觉问题是有,不太准确
用bat和 reg实现关闭局域网共享
开通局域网共享(访问本机无需验证即可进入的bat和注册表文件
开通局域网共享(访问本机要填用户名和密码)的注册表和批处理
用注册表实现(仅供备用)硬盘各分区的默认共享:关闭
判断U盘已插入并自动COPY所有内容的批处理-U盘自动复制
用批处理列出所有开机启动项的命令

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


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