制作一个系统更新包的批处理文件~~~!急!急!急~~~!

来源:百度知道 编辑:UC知道 时间:2024/06/18 00:24:20
希望说的详细一些,最好把代码写清楚~~!
谢谢

新建一个文本文件,保存为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
.\hotfix\windowsServer2003-KB893756-x86-chs.