China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-12 21:07
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » How to create a batch file for automatic Win98 installation View 1,061 Replies 5
Original Poster Posted 2003-06-22 00:00 ·  中国 江西 吉安 电信
初级用户
★★
Credits 321
Posts 66
Joined 2003-05-22 00:00
23-year member
UID 2315
Gender Male
Status Offline
I want to make a bootable CD that automatically installs Win98, but I don't know how to use a created batch file on the bootable CD to automatically install Win98. First use the install command setup, followed by the path and filename of the .inf file just created by Batch 98. (The default filename is Msbatch.inf.) For example, typing the following command at the command line: setup msbatch.inf /is will start automatic installation of Win98 and query the .inf file as required.

How should msbatch.inf be set in the batch file (this file is placed on the CD) so that it can carry out the entire automatic Win98 installation process~~~?


Floor 2 Posted 2003-06-23 00:00 ·  中国 广东 广州 荔湾区 电信
初级用户
★★★
Credits 1,480
Posts 377
Joined 2003-06-06 00:00
23-year member
UID 3875
Gender Male
Status Offline
Put msbatch.inf in the win98 directory and you don't need to set it, but then you won't be able to install manually.
欢迎大家访问我的主页!
精品.爱好http://iso.533.net
Floor 3 Posted 2003-06-23 00:00 ·  中国 广东 佛山 南海区 电信
初级用户
★★
Credits 321
Posts 66
Joined 2003-05-22 00:00
23-year member
UID 2315
Gender Male
Status Offline
So there's no need to write the msbatch.inf file into the batch file?
Floor 4 Posted 2003-06-23 00:00 ·  中国 广东 广州 白云区 电信
初级用户
★★★
Credits 1,480
Posts 377
Joined 2003-06-06 00:00
23-year member
UID 3875
Gender Male
Status Offline
No need, just run setup.exe directly; if it isn't placed in the 98 directory then you have to....
欢迎大家访问我的主页!
精品.爱好http://iso.533.net
Floor 5 Posted 2003-06-23 00:00 ·  中国 山东 滨州 联通
高级用户
★★
Credits 948
Posts 271
Joined 2002-12-13 00:00
23-year member
UID 502
Gender Male
From sd
Status Offline
If the CD uses the Win98 boot disk, add a line like “%CDROM%:\win98\setup.exe” before the second-to-last line “set CDROM=” in the Autoexec.bat file, and it will automatically install win98.
Floor 6 Posted 2003-06-24 00:00 ·  中国 广东 佛山 南海区 电信
初级用户
★★
Credits 321
Posts 66
Joined 2003-05-22 00:00
23-year member
UID 2315
Gender Male
Status Offline
The following is quoted from tanglu_sd's post on 2003-6-23 22:16:37:
If the CD uses the Win98 boot disk, add a line like “%CDROM%:\win98\setup.exe” before the second-to-last line “set CDROM=” in the Autoexec.bat file, and it will automatically install win98.


Why doesn't it work when I do it your way?
It always says The windows 98 setup files were not found
Forum Jump: