麻烦各位大哥看看WINDOWS补丁批处理

[ 4539 查看 / 11 回复 ]

是这样的,由于每次重装系统都要打补丁,于是我就把补丁留下来了,在重装就不用上网了 但是由于补丁太多我想弄个批处理,我弄是弄好了 @echo off @D: @cd D:\压缩软件\【系统工具类】\补丁漏洞\ pause  @echo 按任意键开始安装 @WindowsXP-KB912812-x86-CHS.exe @WindowsXP-KB928090-x86-CHS.exe @WindowsXP-KB925454-x86-CHS.exe @WindowsXP-KB922760-x86-CHS.exe @WindowsXP-KB908531-x86-CHS.exe @WindowsXP-KB918899-x86-CHS.exe @WindowsXP-KB916281-x86-CHS.exe @WindowsXP-KB921398-x86-CHS.exe @WindowsXP-KB923191-x86-CHS.exe @WindowsXP-KB928255-x86-CHS.exe @WindowsXP-KB923689-x86-CHS.exe @WindowsXP-KB931784-x86-CHS.exe @WindowsXP-KB929338-x86-CHS.exe @WindowsXP-KB925902-x86-CHS.exe @WindowsXP-KB924667-x86-CHS.exe @WindowsXP-KB924496-x86-CHS.exe @WindowsXP-KB923694-x86-CHS.exe @WindowsXP-KB911567-x86-CHS.exe @WindowsXP-KB913580-x86-CHS.exe @WindowsXP-KB920685-x86-CHS.exe @WindowsXP-KB924191-x86-CHS.exe @windowsxp-kb911280-x86-chs.exe @WindowsXP-KB914388-x86-CHS.exe @WindowsXP-KB924270-x86-CHS.exe @WindowsXP-KB914389-x86-CHS.exe @WindowsXP-KB917422-x86-CHS.exe @WindowsXP-KB918118-x86-CHS.exe @WindowsXP-KB922819-x86-CHS.exe @WindowsXP-KB922616-x86-CHS.exe @WindowsXP-KB925486-x86-CHS.exe @WindowsXP-KB929969-x86-CHS.exe @WindowsXP-KB925398-x86-CHS.exe @WindowsXP-KB920214-x86-CHS.exe @WindowsXP-KB917953-x86-CHS.exe @WindowsXP-KB927779-x86-CHS.exe @WindowsXP-KB917344-x86-CHS.exe @WindowsXP-KB926255-x86-CHS.exe @WindowsXP-KB928843-x86-CHS.exe @WindowsXP-KB923414-x86-CHS.exe @WindowsXP-KB935448-x86-CHS.exe @WindowsXP-KB920213-x86-CHS.exe @WindowsXP-KB921883-x86-CHS.exe @WindowsXP-KB893756-x86-CHS.exe @WindowsXP-KB923980-x86-CHS.exe @WindowsXP-KB930178-x86-CHS.exe @WindowsXP-KB911927-x86-CHS.exe @WindowsXP-KB911564-x86-CHS.exe @WindowsXP-KB916595-x86-CHS.exe @WindowsXP-KB927802-x86-CHS.exe @WindowsXP-KB920683-x86-CHS.exe @WindowsXP-KB908519-x86-CHS.exe @WindowsXP-KB932168-x86-CHS.exe @WindowsXP-KB911562-x86-CHS.exe @WindowsXP-KB919007-x86-CHS.exe @WindowsXP-KB918439-x86-CHS.exe @WindowsXP-KB922582-x86-CHS.exe @WindowsXP-KB931261-x86-CHS.exe @WindowsXP-KB886677-x86-chs.exe @WindowsXP-KB901190-x86-CHS.exe @WindowsXP-KB926436-x86-CHS.exe @WindowsXP-KB920670-x86-CHS.exe @WindowsXP-KB939653-x86-CHS.exe @WindowsXP-KB939683-x86-CHS.exe @WindowsXP-KB921503-x86-CHS.exe @WindowsXP-KB939683-x86-CHS.exe @WindowsXP-KB933729-x86-CHS.exe @WindowsXP-KB942840-x86-CHS.exe @WindowsXP-KB941568-x86-CHS.exe @WindowsXP-KB937894-x86-CHS.exe @WindowsXP-KB944653-x86-CHS.exe @WindowsXP-KB941569-x86-CHS.exe @WindowsXP-KB942615-x86-CHS.exe @NDP1.1sp1-KB928366-X86.exe pause @echo 完成任务 但是每个补丁会弹个矿出来 首先是  下一步,然后 点同意 最后  完成(有的完成上面还有个  不忙重新启动的选项,当然要勾上了) 我就在想这样我自己动手,虽然有批处理,但是要自己搞还是太麻烦
 附件: 您所在的用户组无法下载或查看附件
 附件: 您所在的用户组无法下载或查看附件
 附件: 您所在的用户组无法下载或查看附件 但是由于本人只是在网上看了一下批处理介绍而已,希望哪位大大能够帮我编个能象 360 自动补丁一样 全部自动安装 ,其中的  同意 完成 ````等等步骤程序搞定 我只需要点.BAT就能够等到 完成任务 这步就好了个 会的同志们,讨论下,或者帮我编个,或者发表下自己的看法啊,对你们的帮助表示感谢
最后编辑pdgzhy2005 最后编辑于 2007-12-14 15:03:50
分享 转发
TOP

回复:麻烦各位大哥看看WINDOWS补丁批处理

你可以,使用这样的批处理。
  1. .\hotfix\wu6.exe
  2. .\hotfix\kb892130.exe /quiet /passive /norestart /nobackup
  3. .\hotfix\windowsXP-KB898461-x86-CHS.exe /quiet /passive /norestart /nobackup
  4. .\hotfix\windowsInstaller-KB893803-v2-x86.exe /quiet /passive /norestart /nobackup
  5. .\hotfix\windowsXP-KB896423-x86-CHS.exe /quiet /passive /norestart /nobackup
  6. .\hotfix\WindowsXP-KB921883-x86-CHS.exe /quiet /passive /norestart /nobackup
  7. .\hotfix\WindowsXP-KB923414-x86-CHS.exe /quiet /passive /norestart /nobackup
  8. .\hotfix\WindowsXP-KB924496-x86-CHS.exe /quiet /passive /norestart /nobackup
  9. .\hotfix\WindowsXP-KB923191-x86-CHS.exe /quiet /passive /norestart /nobackup
  10. .\hotfix\WindowsXP-KB924191-x86-CHS.exe /quiet /passive /norestart /nobackup
  11. .\hotfix\WindowsXP-KB922819-x86-CHS.exe /quiet /passive /norestart /nobackup
  12. .\hotfix\WindowsXP-KB925486-x86-CHS.exe /quiet /passive /norestart /nobackup
  13. .\hotfix\WindowsXP-KB922582-x86-CHS.exe /quiet /passive /norestart /nobackup
  14. .\hotfix\WindowsXP-KB916595-x86-CHS.exe /quiet /passive /norestart /nobackup
  15. .\hotfix\WindowsXP-KB919007-x86-CHS.exe /quiet /passive /norestart /nobackup
  16. .\hotfix\WindowsXP-KB920685-x86-CHS.exe /quiet /passive /norestart /nobackup
  17. .\hotfix\WindowsXP-KB918899-x86-CHS.exe /quiet /passive /norestart /nobackup
  18. .\hotfix\WindowsXP-KB917422-x86-CHS.exe /quiet /passive /norestart /nobackup
  19. .\hotfix\WindowsXP-KB920670-x86-CHS.exe /quiet /passive /norestart /nobackup
  20. .\hotfix\WindowsXP-KB920683-x86-CHS.exe /quiet /passive /norestart /nobackup
  21. .\hotfix\WindowsXP-KB921398-x86-CHS.exe /quiet /passive /norestart /nobackup
  22. .\hotfix\WindowsXP-KB922616-x86-CHS.exe /quiet /passive /norestart /nobackup
  23. .\hotfix\WindowsXP-KB920214-x86-CHS.exe /quiet /passive /norestart /nobackup
  24. .\hotfix\WindowsXP-KB914388-x86-CHS.exe /quiet /passive /norestart /nobackup
  25. .\hotfix\windows-KB913433-x86-CHS.exe /Q
  26. .\hotfix\WindowsXP-KB911280-v2-x86-CHS.exe /quiet /passive /norestart /nobackup
  27. .\hotfix\windowsMedia10-KB917734-x86-CHS.exe /quiet /passive /norestart /nobackup
  28. .\hotfix\windowsXP-KB914389-x86-CHS.exe /quiet /passive /norestart /nobackup
  29. .\hotfix\windowsXP-KB917344-x86-CHS.exe /quiet /passive /norestart /nobackup
  30. .\hotfix\windowsXP-KB918439-x86-CHS.exe /quiet /passive /norestart /nobackup
  31. .\hotfix\windowsXP-KB913580-x86-CHS.exe /quiet /passive /norestart /nobackup
  32. .\hotfix\windowsXP-KB917953-x86-CHS.exe /quiet /passive /norestart /nobackup
  33. .\hotfix\WindowsXP-KB908531-v2-x86-CHS.exe /quiet /passive /norestart /nobackup
  34. .\hotfix\windowsXP-KB911567-x86-CHS.exe /quiet /passive /norestart /nobackup
  35. .\hotfix\windowsXP-KB911562-x86-CHS.exe /quiet /passive /norestart /nobackup
  36. .\hotfix\windowsXP-KB911927-x86-CHS.exe /quiet /passive /norestart /nobackup
  37. .\hotfix\windowsXP-KB901190-x86-CHS.exe /quiet /passive /norestart /nobackup
  38. .\hotfix\windowsMedia-KB911564-x86-CHS.exe /quiet /passive /norestart /nobackup
  39. .\hotfix\windowsXP-KB908519-x86-CHS.exe /quiet /passive /norestart /nobackup
  40. .\hotfix\windowsXP-KB912919-x86-CHS.exe /quiet /passive /norestart /nobackup
  41. .\hotfix\windowsXP-KB910437-x86-CHS.exe /quiet /passive /norestart /nobackup
  42. .\hotfix\windowsXP-KB904706-x86-CHS.exe /quiet /passive /norestart /nobackup
  43. .\hotfix\windowsXP-KB896424-x86-CHS.exe /quiet /passive /norestart /nobackup
  44. .\hotfix\windowsXP-KB905749-x86-CHS.exe /quiet /passive /norestart /nobackup
  45. .\hotfix\windowsXP-KB900725-x86-CHS.exe /quiet /passive /norestart /nobackup
  46. .\hotfix\windowsXP-KB902400-x86-CHS.exe /quiet /passive /norestart /nobackup
  47. .\hotfix\windowsXP-KB899589-x86-CHS.exe /quiet /passive /norestart /nobackup
  48. .\hotfix\windowsXP-KB901017-x86-CHS.exe /quiet /passive /norestart /nobackup
  49. .\hotfix\windowsXP-KB905414-x86-CHS.exe /quiet /passive /norestart /nobackup
  50. .\hotfix\windowsXP-KB893756-x86-CHS.exe /quiet /passive /norestart /nobackup
  51. .\hotfix\windowsXP-KB899591-x86-CHS.exe /quiet /passive /norestart /nobackup
  52. .\hotfix\windowsXP-KB899587-x86-CHS.exe /quiet /passive /norestart /nobackup
  53. .\hotfix\windowsXP-KB894391-x86-CHS.exe /quiet /passive /norestart /nobackup
  54. .\hotfix\windowsXP-KB896358-x86-CHS.exe /quiet /passive /norestart /nobackup
  55. .\hotfix\windowsXP-KB890859-x86-CHS.exe /quiet /passive /norestart /nobackup
  56. .\hotfix\windowsXP-KB901214-x86-CHS.exe /quiet /passive /norestart /nobackup
  57. .\hotfix\windowsXP-KB896428-x86-CHS.exe /quiet /passive /norestart /nobackup
  58. .\hotfix\windowsXP-KB890046-x86-CHS.exe /quiet /passive /norestart /nobackup
  59. .\hotfix\windowsXP-KB885835-x86-CHS.exe /quiet /norestart /n
  60. .\hotfix\windowsXP-KB886677-x86-CHS.exe /quiet /norestart /n
  61. .\hotfix\windowsXP-KB888302-x86-CHS.exe /quiet /norestart /n
  62. .\hotfix\windowsXP-KB891781-x86-CHS.exe /quiet /norestart /n
  63. .\hotfix\windowsXP-KB873339-x86-CHS.exe /quiet /norestart /n
  64. .\hotfix\windowsXP-KB886185-x86-CHS.exe /quiet /norestart /n
  65. .\hotfix\windowsXP-KB885836-x86-CHS.exe /quiet /norestart /n
  66. .\hotfix\WindowsXP-KB900485-v2-x86-CHS.exe /quiet /passive /norestart /nobackup

  67. rem .\hotfix\WindowsXP-KB920872-x86-CHS.exe /quiet /passive /norestart /nobackup
  68. rem .\hotfix\WindowsXP-KB917159-x86-CHS.exe /quiet /passive /norestart /nobackup
复制代码
欢迎大家和我联系 MCSE2003\MCSA2003\MCP\MTO\MVP QQ群:http://www.mcse.org.cn/showtopic-5035.html bbs:http://www.mcse.org.cn msn:lingluo18#hotmail.com mail:lingluo18#gmail.com
TOP

回复:麻烦各位大哥看看WINDOWS补丁批处理

\hotfix\windowsXP-KB898461-x86-CHS.exe /quiet /passive /norestart /nobackup 请问能解释一下 每个 /后的意思么???谢谢
TOP

回复:麻烦各位大哥看看WINDOWS补丁批处理

.\hotfix\windowsXP-KB908519-x86-CHS.exe /quiet /passive /norestart /nobackup hotfix补丁目录 windowsXP-KB908519-x86-CHS.exe 补丁文件 /quiet /passive /norestart /nobackup这个是一些参数,比如不重启等等。
欢迎大家和我联系 MCSE2003\MCSA2003\MCP\MTO\MVP QQ群:http://www.mcse.org.cn/showtopic-5035.html bbs:http://www.mcse.org.cn msn:lingluo18#hotmail.com mail:lingluo18#gmail.com
TOP

回复:麻烦各位大哥看看WINDOWS补丁批处理

还有貌似,代码不行啊?? 我写的BAT跟文件在一个目录么? 还是EXE文件在hotfix目录下??
TOP

回复:麻烦各位大哥看看WINDOWS补丁批处理

exe的补丁文件在hotfix里面
欢迎大家和我联系 MCSE2003\MCSA2003\MCP\MTO\MVP QQ群:http://www.mcse.org.cn/showtopic-5035.html bbs:http://www.mcse.org.cn msn:lingluo18#hotmail.com mail:lingluo18#gmail.com
TOP

回复:麻烦各位大哥看看WINDOWS补丁批处理

谢谢了,我已经明白了,感谢感谢,以后一定多多光顾本论坛 加为收藏,不错不错!!
TOP

回复:麻烦各位大哥看看WINDOWS补丁批处理

可以去下载一个已经集成好的补丁集.有集成到11月份的,比较方便
东莞SEO好久没来了!
TOP

回复:麻烦各位大哥看看WINDOWS补丁批处理

@echo off for %%i in (*.exe) do %%i /passive /norestart /nobackup shutdown -r 楼猪不妨用上面这段保存成.bat格式,然后放到你放补丁的文件夹下,以后直接双击一下就OK了! 比你写的那些简单,方便的多!
TOP

回复: 麻烦各位大哥看看WINDOWS补丁批处理

原帖由 tian930 于 2007-12-19 14:24:00 发表 @echo off for %%i in (*.exe) do %%i /passive /norestart /nobackup shutdown -r 楼猪不妨用上面这段保存成.bat格式,然后放到你放补丁的文件夹下,以后直接双击一下就OK了! 比你写的那些简单,方便的多!
您说的方法很不错,但是对Q831167*.exe的补丁就不能执行啦,只能手工打啦
欢迎大家和我联系 MCSE2003\MCSA2003\MCP\MTO\MVP QQ群:http://www.mcse.org.cn/showtopic-5035.html bbs:http://www.mcse.org.cn msn:lingluo18#hotmail.com mail:lingluo18#gmail.com
TOP