recycling是什么意思啊:怎么把已经下载好的一堆XP补丁打包一次性安装?

来源:百度文库 编辑:杭州交通信息网 时间:2024/05/03 06:59:12
已经下载过许多SP2以后的补丁,一个一个装又费时又费力,怎么建立一个批处理文件把它们打包一次性安装?谢谢

在你存补丁的文件夹里建立一个.bat批处理文件,其内容如下:

@echo off
echo Windows XP SP2 后的所有补丁升级程序!
echo 正在升级中,请等.............
start /wait No.1-WindowsXP-KB885835-x86-CHS.exe /passive /norestart
start /wait No.2-WindowsXP-KB886185-x86-chs.exe /passive /norestart
start /wait No.3-WindowsXP-KB890175-x86-CHS.exe /passive /norestart
start /wait No.4-WindowsXP-KB888113-x86-CHS.exe /passive /norestart
start /wait No.5-WindowsXP-KB894391-x86-CHS.exe /passive /norestart
start /wait No.6-WindowsXP-KB888302-x86-CHS.exe /passive /norestart
start /wait No.7-WindowsXP-KB890047-X86-CHS.exe /passive /norestart
start /wait No.8-WindowsXP-KB873333-x86-CHS.exe /passive /norestart
start /wait No.9-WindowsXP-KB885250-x86-CHS.exe /passive /norestart
start /wait No.10-WindowsXP-KB891781-x86-CHS.exe /passive /norestart
start /wait No.11-WindowsXP-KB867282-x86-CHS.exe /passive /norestart
start /wait No.12-WindowsXP-KB887742-x86-CHS.exe /passive /norestart
start /wait No.13-WindowsXP-KB890859-x86-CHS.exe /passive /norestart
start /wait No.14-WindowsXP-KB890923-x86-CHS.exe /passive /norestart
start /wait No.15-WindowsXP-KB893086-x86-CHS.exe /passive /norestart
start /wait No.16-WindowsXP-KB896358-x86-CHS.exe /passive /norestart
start /wait No.17-WindowsXP-KB890046-x86-CHS.exe /passive /norestart
start /wait No.18-WindowsXP-KB896422-x86-CHS.exe /passive /norestart
start /wait No.19-WindowsXP-KB896428-x86-CHS.exe /passive /norestart
start /wait No.20-WindowsXP-KB883939-x86-CHS.exe /passive /norestart
start /wait No.21-WindowsXP-KB893066-v2-x86-CHS.exe /passive /norestart
start /wait No.22-WindowsXP-KB903235-x86-CHS.exe /passive /norestart
start /wait No.23-WindowsXP-KB901214-x86-CHS.exe /passive /norestart
start /wait No.24-WindowsXP-KB900930-x86-CHS.exe /passive /norestart
start /wait No.25-WindowsXP-KB896727-x86-CHS.exe /passive /norestart
start /wait No.26-WindowsXP-KB899588-x86-CHS.exe /passive /norestart
start /wait No.27-WindowsXP-KB893756-x86-CHS.exe /passive /norestart
start /wait No.28-WindowsXP-KB899591-x86-CHS.exe /passive /norestart
start /wait No.29-WindowsXP-KB899587-x86-CHS.exe /passive /norestart
start /wait No.30-WindowsXP-KB896423-x86-CHS.exe /passive /norestart
start /wait No.31-WindowsXP-KB889527-v3-x86-CHS.exe /passive /norestart
start /wait No.32-WindowsXP-KB905414-x86-CHS.exe /passive /norestart
start /wait No.33-WindowsXP-KB904706-x86-CHS.exe /passive /norestart
start /wait No.34-WindowsXP-KB896688-x86-CHS.exe /passive /norestart
start /wait No.35-WindowsXP-KB902400-x86-CHS.exe /passive /norestart
start /wait No.36-WindowsXP-KB899589-x86-CHS.exe /passive /norestart
start /wait No.37-WindowsXP-KB900725-x86-CHS.exe /passive /norestart
start /wait No.38-WindowsXP-KB901017-x86-CHS.exe /passive /norestart
start /wait No.39-WindowsXP-KB905749-x86-CHS.exe /passive /norestart
start /wait No.40-Windows-KB890830-V1.9-CHS.exe /q
echo 升级完毕,请重新启动您的计算机,以便完成升级,按任意键关闭此窗口!
pause
exit

到微软的网站上http://update.microsoft.com/windowsupdate/v6/default.aspx?ln=zh-cn
自动更新就可以了。你可以把前面那些下载来的文件放在C:\WINDOWS\SoftwareDistribution\downlaod里,这样就可以节省下载的时间。