脚本可以按照这个写:
新建一个文本文件,保存为setup.cmd,文件内容为:
echo 共51个补丁 正在安装第 1 个 windowsServer2003-KB898715-x86-chs.exe
.\hotfix\windowsServer2003-KB898715-x86-chs.exe /quiet /passive /nobackup /norestart
echo 共51个补丁 正在安装第 2 个 windowsServer2003-KB896428-x86-chs.exe
.\hotfix\windowsServer2003-KB896428-x86-chs.exe /quiet /passive /nobackup /norestart
echo 共51个补丁 正在安装第 3 个 windowsServer2003-KB929969-x86-chs.exe
.\hotfix\windowsServer2003-KB929969-x86-chs.exe /quiet /passive /nobackup /norestart
echo 共51个补丁 正在安装第 4 个 windowsServer2003-KB896358-x86-chs.exe
.\hotfix\windowsServer2003-KB896358-x86-chs.exe /quiet /passive /nobackup /norestart
echo 共51个补丁 正在安装第 5 个 windowsServer2003-KB901214-x86-chs.exe
.\hotfix\windowsServer2003-KB901214-x86-chs.exe /quiet /passive /nobackup /norestart
echo 共51个补丁 正在安装第 6 个 windowsServer2003-KB893756-x86-chs.exe