批处理应用 "添加/删除程序"修复
网络编程
rem 如果“添加/删除程序”工具出错,显示的信息不完整或显示空白,可使用该脚本修复
regsvr32 -s %systemroot%System32Appwiz.cpl
regsvr32 -s %systemroot%System32Mshtml.dll
regsvr32 -s %systemroot%System32Jscript.dll
regsvr32 -s %systemroot%System32Msi.dll
regsvr32 -s %SystemDrive%Program FilesCommon FilesSystemOle DBOledb32.dll
regsvr32 -s %SystemDrive%Program FilesCommon FilesSystemAdoMsado15.dll
regsvr32 -s %systemroot%System32Msdart32.dll
regsvr32 -s %systemroot%System32Mshtmled.dll
regsvr32 -s %systemroot%System32Mswstr10.dll
regsvr32 -s %systemroot%System32Gdi32.dll
regsvr32 -s %systemroot%System32User32.dll
regsvr32 -s %systemroot%System32Msvcrt.dll
regsvr32 -s %systemroot%System32Ole32.dll
regsvr32 -s %systemroot%System32Shlwapi.dll
regsvr32 -s %systemroot%System32Imm32.dll
regsvr32 -s %systemroot%System32Indicdll.dll
regsvr32 -s %systemroot%System32Urlmon.dll
regsvr32 -s %systemroot%System32Version.dll
regsvr32 -s %systemroot%System32Lz32.dll
regsvr32 -s %systemroot%System32Comctl32.dll
regsvr32 -s %systemroot%System32Clbcatq.dll
regsvr32 -s %systemroot%System32Oleaut32.dll
regsvr32 -s %systemroot%System32Mlang.dll
regsvr32 -s %systemroot%System32Shell32.dll
regsvr32 -s %systemroot%System32Shdoclc.dll
regsvr32 -s %systemroot%System32NetapI32.dll
regsvr32 -s %systemroot%System32Secur32.dll
regsvr32 -s %systemroot%System32Netrap.dll
regsvr32 -s %systemroot%System32Samlib.dll
regsvr32 -s %systemroot%System32Ws2_32.dll
regsvr32 -s %systemroot%System32Ws2help.dll
regsvr32 -s %systemroot%System32Wldap32.dll
regsvr32 -s %systemroot%System32Dnsapi.dll
regsvr32 -s %systemroot%System32Wsock32.dll
regsvr32 -s %systemroot%System32Plugin.ocx
regsvr32 -s %systemroot%System32Wininet.dll
regsvr32 -s %systemroot%System32Crypt32.dll
regsvr32 -s %systemroot%System32Msasn1.dll
regsvr32 -s %systemroot%System32Msls31.dll
regsvr32 -s %systemroot%System32Imgutil.dll
regsvr32 -s %systemroot%System32Cscui.dll
regsvr32 -s %systemroot%System32Cscdll.dll
批处理应用 OFFICE复位
@echoofrem当WORDEXCEL等遇到问题的时候,如问档打开缓慢,可以运行该脚本修复rem运行环境XP/2003rd"%APPDATA%MicrosoftTemplates"/q/srd"%APPDATA%MicrosoftWord"/q/sREGDELETEHKC
计算机/网络设备状态监测脚本 批处理
以前自己写的一个监控脚本,每隔10秒使用PING命令检查一个IP列表中的IP,如果不通,则通过messenger消息发送,并使用BEEP发出报警声。需要文件sleep.exe
用批处理实现的删除特定时间以前的文件
使用for命令读取dir/tc/o-d/a的结果,可以分成4段,前两段为日期与时间,第3段为目录或文件大小,第4段为文件名或目录名。然后根据第1段和第2段与需
编辑:一起学习网
标签:批处理,脚本,命令,文件,时间