我搞的打补丁的批处理,很简单,对公司很有用哦.
电脑吧
全部回复
仅看楼主
level 1
@echo off echo Windows XP SP1 后的补丁升级程序,可能会少几个,用360检查一下! echo 正在升级中,请稍等............. start /wait WindowsXP-KB928090-x86-CHS.exe /passive /norestart start /wait WindowsXP-KB925454-x86-CHS.exe /passive /norestart start /wait WindowsXP-KB922760-x86-CHS.exe /passive /norestart start /wait WindowsXP-KB933566-x86-CHS.exe /passive /norestart start /wait WindowsXP-KB908531-v2-x86-CHS.exe /passive /norestart start /wait WindowsXP-KB918899-x86-CHS.exe /passive /norestart start /wait WindowsXP-KB921398-x86-CHS.exe /passive /norestart start /wait WindowsXP-KB923191-x86-CHS.exe /passive /norestart start /wait WindowsXP-KB928255-x86-CHS.exe /passive /norestart start /wait WindowsXP-KB923689-x86-CHS.exe /passive /norestart start /wait WindowsXP-KB931784-x86-CHS.exe /passive /norestart start /wait WindowsXP-KB929338-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB925902-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB924667-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB924496-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB923694-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB911567-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB935843-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB913580-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB920685-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB927891-v3-x86-CHS.exe /passive /norestartstart /wait windowsXP-KB924191-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB911280-v2-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB914388-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB924270-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB914389-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB917422-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB918118-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB922819-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB935839-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB922616-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB913446-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB925486-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB929969-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB930916-x86-CHS.exe /passive /norestartstart /wait WindowsMedia6-KB925398-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB920214-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB917953-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB927779-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB917344-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB926255-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB928843-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB923414-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB917159-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB935448-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB920213-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB921883-x86-CHS.exe /passive /norestartstart /wait windowsXP-KB923980-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB930178-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB911927-x86-CHS.exe /passive /norestartstart /wait WindowsMedia-KB911564-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB916595-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB927802-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB920683-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB932168-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB911562-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB919007-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB918439-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB922582-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB931261-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB935840-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB901190-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB926436-x86-CHS.exe /passive /norestartstart /wait WindowsXP-KB920670-x86-cHS.exe /passive /norestart /qecho 升级完毕,重启一下电脑比较好! pause exit前提,在同目录下有对应的补丁文件才行,然后也是另存为BAT文件就OK.
2007年07月26日 03点07分 1
level 1
^_^|||||
2007年07月26日 03点07分 2
level 1
其实……@echo offtitle 系统补丁自动装~by ice_logcolor 89dir /b *.exe > tempfor /f %%i in (temp) do %%i -z -qecho 完成!按任意键退出~del /q /f temp@pause老掉牙了……最终没有说出来,因为觉得不够好,至少应该findstr判断补丁类型再以不同命令行安装>>>不过算了,不管了~~~
2007年07月26日 03点07分 3
level 1
@echo offtitle 系统补丁自动装~by ice_logcolor 89dir /b *.exe > tempfor /f %%i in (temp) do start /wait %%i -z -qecho 完成!按任意键退出~del /q /f temp@pause这样好点
2007年07月26日 03点07分 4
level 1
有道理,不过哪个地方有问题啊。
2007年07月26日 03点07分 5
level 1
不同类型的补丁程序需要不同的命令行,特殊的补丁用普通的命令行运行会令补丁程序出错退出,就打不上了
2007年07月26日 04点07分 6
1