中国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-02 05:45
48,037 topics / 350,122 posts / today 2 new / 48,250 members
DOS批处理 & 脚本技术(批处理室) » How to write a batch script to automatically install the 98 patch package?
Printable Version  1,653 / 4
Floor1 雨露 Posted 2006-08-12 21:19
管理员 Posts 2,601 Credits 6,215
I downloaded all the patches for the Chinese version of Windows 98 SE, but it's too laborious to install them one by one. I remember that XP patches can be automatically completed at one time through batch processing. Can 98SE do that?
Floor2 namejm Posted 2006-08-15 15:15
荣誉版主 Posts 1,737 Credits 5,226 From 成都
I don't know what the patch file name for 98 looks like. I searched online and found a section of code that is relatively useful. After modification, the following code is obtained. I don't know if it can run successfully under 98:


[ Last edited by namejm on 2006-11-17 at 04:36 PM ]
Floor3 fastslz Posted 2006-08-15 16:40
铂金会员 Posts 2,315 Credits 5,493 From 上海
Supplementary notes:

Windows installation packages almost all have unattended installation commands, including .msi.

*.exe /quiet /norestart /n

*.exe /quiet /passive /norestart /nobackup

/quiet Quiet mode

/passive Passive mode

/norestart Do not restart after installation

/nobackup Do not back up files needed for uninstallation

The relatively common parameters for Xplode plug-in installation are /q /o /n /z
Floor4 tinytiger Posted 2006-10-03 09:39
新手上路 Posts 4 Credits 8
Just what is needed, and study hard.
Floor5 tinytiger Posted 2006-10-07 04:18
新手上路 Posts 4 Credits 8
I found a more concise code:
@echo off
goto begain

:begain
color 1f
FOR /R %%F IN (.\*.exe) DO @((@findstr _SFX_CAB_EXE_PATH "%%F" >nul && @start /wait %%F /Quiet /Norestart /Nobackup)|| @start /wait %%F )
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023