中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-06 08:16
48,039 topics / 350,124 posts / today 0 new / 48,251 members
DOS批处理 & 脚本技术(批处理室) » [Help] Problem encountered with a batch patch installer
Printable Version  793 / 5
Floor1 zhj85818 Posted 2007-10-29 14:07
初级用户 Posts 26 Credits 70
I want to install 10 Windows patches
I wrote the batch file as follows:
@echo off
cd c:\windowspatch
start windows-x86-0210 -p -f
start windows-x86-0211 -p -f
start windows-x86-0212 -p -f
........
start windows-x86-0220 -p -f
cd d:\
@echo Installation complete
When installing, all 10 patches run at once, so they can't be installed
How can I make these patches install one by one
Please, experts, answer
Floor2 zhj85818 Posted 2007-10-29 14:12
初级用户 Posts 26 Credits 70
c:\windowspatch is the folder where the patches are located
windows-x86-0210
windows-x86-0211
windows-x86-0212
。。。。。
windows-x86-0220
are the patch names
Floor3 vkill Posted 2007-10-29 17:38
金牌会员 Posts 1,744 Credits 4,103 From 甘肃.临泽
start /? helps
Floor4 hxwxyz Posted 2007-10-29 21:43
中级用户 Posts 123 Credits 245
Floor5 faultcode Posted 2007-10-29 23:04
初级用户 Posts 60 Credits 120
Floor6 guo882633 Posted 2007-10-30 17:07
初级用户 Posts 53 Credits 126 From -
@echo off
for %a in (*.exe) do (start /wait %a -z -q &&echo %%patch installation completed)
echo.
echo All patches have been installed
pause >nul
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023