![]() |
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-12 17:44 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| DOS学习入门 & 精彩文章 (教学室) » Help! Can't automatically enter the CD drive... |
| Printable Version 2,506 / 18 |
| Floor1 shadowman | Posted 2003-07-10 00:00 |
| 初级用户 Posts 26 Credits 218 | |
|
I have to trouble everyone again, thank you first!!
My original intention was to automatically enter the win98se directory in the CD (just under the root directory of the CD) through autoexec.bat and config.sys, execute setup.exe, to install Windows 98, but I don't know where the mistake is, that is, I can't enter the CD drive!! The content of my autoexec.bat is: @ECHO OFF set EXPAND=YES SET DIRCMD=/O:N cls set temp=c:\ set tmp=c:\ path=a:\ IF "%config%"=="NOCD" GOTO QUIT LH MSCDEX.EXE /D emcd001 /L![]() echo. IF "%config%"=="SETUP_CD" goto AUTOSETUP GOTO QUIT :AUTOSETUP set CDROM=FOO23 FINDCD.EXE if "%CDROM%"=="FOO23" goto NOCDROM path=a:\;%CDROM%\ %CDROM% cd \WIN98 echo. OEMSETUP.EXE /K "/IE /NF" goto QUIT :NOCDROM echo. echo The Windows 98 Setup files were not found. echo. :QUIT The content of my config.sys is: menuitem=SETUP_CD, Start Windows 98 Setup from CD-ROM. menuitem=CD, Start computer with CD-ROM support. menuitem=NOCD, Start computer without CD-ROM support. menudefault=SETUP_CD,30 menucolor=7,0 device=himem.sys /testmem ffdevice=oakcdrom.sys /D emcd001 device=btdosm.sys device=flashpt.sys device=btcdrom.sys /D emcd001device=aspi2dos.sys device=aspi8dos.sys device=aspi4dos.sys device=aspi8u2.sys device=aspicd.sys /D emcd001device=himem.sys /testmem ffdevice=oakcdrom.sys /D emcd001 device=btdosm.sys device=flashpt.sys device=btcdrom.sys /D emcd001device=aspi2dos.sys device=aspi8dos.sys device=aspi4dos.sys device=aspi8u2.sys device=aspicd.sys /D emcd001device=himem.sys /testmem fffiles=60 buffers=20 dos=high,umb stacks=9,256 lastdrive=z Maybe this is very simple for you, but I really thank you if you can help me!! |
|
| Floor2 Wengier | Posted 2003-07-10 00:00 |
| 系统支持 Posts 10,521 Credits 27,736 | |
|
It is strongly recommended to reorganize the CONFIG.SYS file, replacing those bulky things (like OAKCDROM.SYS) with smaller, newer and more practical programs (such as VIDE-CDD.SYS).
|
|
| Floor3 电吉入侵 | Posted 2003-07-10 00:00 |
| 初级用户 Posts 377 Credits 1,480 | |
|
Here
LH MSCDEX.EXE /D emcd001 /L Remove the /L part. The /L parameter specifies the drive letter of the CD - ROM. |
|
| Floor4 电吉入侵 | Posted 2003-07-10 00:00 |
| 初级用户 Posts 377 Credits 1,480 | |
The following is a quote from Wengier on 2003-7-10 1:35:48: Strongly recommend considering us newcomers when answering questions. After putting forward suggestions, please also answer the questions, so that the poster can get the answer and can consider better suggestions..... Although this is a bit difficult, it can help a newcomer grow. Don't you think so, Wengier? |
|
| Floor5 shadowman | Posted 2003-07-10 00:00 |
| 初级用户 Posts 26 Credits 218 | |
|
I removed it, but it still doesn't work!
|
|
| Floor6 电吉入侵 | Posted 2003-07-10 00:00 |
| 初级用户 Posts 377 Credits 1,480 | |
|
Actually, your batch processing doesn't need to be this complicated. Do you choose to load the CD and then install automatically or install automatically from the start?
|
|
| Floor7 shadowman | Posted 2003-07-10 00:00 |
| 初级用户 Posts 26 Credits 218 | |
|
First load the CD, then install automatically!
|
|
| Floor8 电吉入侵 | Posted 2003-07-10 00:00 |
| 初级用户 Posts 377 Credits 1,480 | |
|
Try this way
LH MSCDEX.EXE /D emcd001 /L:%cdrom%%cdrom%:\win98\OEMSETUP.EXE drive letter:\***.INF /is The drive letter:\***.INF is the location of the answer file, and is skips the disk check. |
|
| Floor9 shadowman | Posted 2003-07-10 00:00 |
| 初级用户 Posts 26 Credits 218 | |
The following is a quote from dianjirqinru on 2003-7-10 2:49:35: What does the term "answer file" mean? Does "drive letter" refer to the directory of the installation file? |
|
| Floor10 电吉入侵 | Posted 2003-07-10 00:00 |
| 初级用户 Posts 377 Credits 1,480 | |
|
Automated installation requires an answer file! You can go online to check articles about automated installation...
Or you can place the automated answer file in the installation directory and run setup to perform automated installation, but then manual installation won't be possible. |
|
| Floor11 shadowman | Posted 2003-07-10 00:00 |
| 初级用户 Posts 26 Credits 218 | |
|
Oh, I don't need this automatic installation answer file yet! I just need to enter the win98se directory in the CD and run setup.exe, and then install manually later!!
I changed the batch file as you said, but still can't enter the CD drive!! |
|
| Floor12 shadowman | Posted 2003-07-10 00:00 |
| 初级用户 Posts 26 Credits 218 | |
|
Finally, it shows:
MSCDEX Version 2.25 Copyright (c)Microsoft Corp. 1986-1995. All rights reserved. Drive E:=Driver MSCS001 unit 0 (I changed LH MSCDEX.EXE /D emcd001 to LH MSCDEX.EXE /D:mscd001 /L:%cdrom%)Invalid directory Bad command or file name a:\> |
|
| Floor13 shadowman | Posted 2003-07-10 00:00 |
| 初级用户 Posts 26 Credits 218 | |
|
????
|
|
| Floor14 yiyesong | Posted 2003-07-10 00:00 |
| 元老会员 Posts 632 Credits 1,987 | |
|
Answer files provide a script that can generate detailed installation information by itself (including custom installation components, user information, serial numbers, etc.). In short, it aggregates all the things you need to choose during the manual installation process and generates a text file. Then the installation program realizes fully automatic installation according to the description of the answer file, and you don't need to pay attention to it anymore.
My boot disk has automatic installation answer files for various operating systems such as WIN98SE, WINNT, WIN2000PRO, WIN2000SVR, WIN2000ADV, WINXPPRO. You can copy them in. The one for 98 is MSBATCH.INFhttp://www2.zzu.edu.cn/ie/newdos/dispbbs.asp?boardID=11&ID=4298 |
|
| Floor15 电吉入侵 | Posted 2003-07-10 00:00 |
| 初级用户 Posts 377 Credits 1,480 | |
|
You can take a look at mine....Open attachment
|
|
| 1 2 Next |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |