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-13 21:29
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » CONFIG.SYS Configuration Diagnosis Clinic View 8,592 Replies 67
Floor 16 Posted 2003-05-12 00:00 ·  中国 湖北 武汉 电信
元老会员
★★★★★
步行的人
Credits 9,654
Posts 3,351
Joined 2003-03-11 00:00
23-year member
UID 1113
Gender Male
From 湖北
Status Offline
There isn't really any problem with that section of the config file above..
You can add a device=smartdrv、exe 2048 /a /x /q statement in it to increase the disk cache.
That can speed up setup installation.
The problem may be in autoexec.....
弄花香满衣,掬水月在手。
明月鹭鸟飞, 芦花白马走。
我自一过后,野渡现横舟。
青云碧空在,净瓶水不流。
http://dos.e-stone.cn/guestbook/index.asp
======中國DOS聯盟=====
我的新网页http://rsds.7i24.com欢迎光顾
Floor 17 Posted 2003-05-12 00:00 ·  中国 湖南 衡阳 中移铁通
初级用户
Credits 253
Posts 39
Joined 2003-05-09 00:00
23-year member
UID 1956
Gender Male
Status Offline
Thanks!
Please help me look at AUTOEXEC.BAT

@ECHO OFF
PROMPT $P$G
PATH A:\;C:\
set temp=c:\
set tmp=c:\

SET EXPAND=YES
SET DIRCMD=/O:N
set LglDrv=27 * 26 Z 25 Y 24 X 23 W 22 V 21 U 20 T 19 S 18 R 17 Q 16 P 15
set LglDrv=%LglDrv% O 14 N 13 M 12 L 11 K 10 J 9 I 8 H 7 G 6 F 5 E 4 D 3 C
call setramd.bat %LglDrv%
path=C:\;%RAMD%:\;%RAMD%:\BAT;%CDROM%:\;%CDROM%:\BOOT;%CDROM%:\BOOT\EBD:%CDROM%:\BOOT\KV3000;
copy a:\*.* %ramd%:\. > NUL
set comspec=%RAMD%:\command.com
LH MSCDEX.EXE /D:MSCD000 /L:%CDROM%
LH SMARTDRV.EXE 2048 /a /x /q
LH MOUSE.COM > NUL
Set LglDrv=

MD %RAMD%:\TEMP
XXCOPY /E /H %CDROM%:\BOOT\EBD\*.* %RAMD%:\ > NUL
%RAMD%:
hzxt
CALL XLC


Floor 18 Posted 2003-05-13 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
The following is quoted from jzcjgh's post at 2003-5-12 22:09:29:
device=himem.sys /testmemff
device=emm386.exe noems 
device=oakcdrom.sys /D:mscd000
device=btdosm.sys 
device=flashpt.sys
device=btcdrom.sys /D:mscd000
device=aspi2dos.sys
device=aspi8dos.sys
device=aspi4dos.sys
device=aspi8u2.sys
device=aspicd.sys /D:mscd000
dos=high,umb
files=30
buffers=45
stacks=9,256
devicehigh=ramdrive.sys /E 4096
lastdrive=z

When I install ME it says there isn't enough memory,
what should I do?





Remove that whole section above and change it to:
device=himem.sys
device=emm386.exe noems
devicehigh=vide-cdd.sys
devicehigh=usbaspi.sys
devicehigh=usbcd.sys
devicehigh=ramdrive.sys /E 4096
dos=high,umb
files=30
buffers=45
stacks=9,256
lastdrive=z

That should do it.
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 19 Posted 2003-05-13 00:00 ·  中国 湖南 衡阳 中移铁通
初级用户
Credits 253
Posts 39
Joined 2003-05-09 00:00
23-year member
UID 1956
Gender Male
Status Offline
The following is quoted from Wengier's post at 2003-5-13 0:00:19:
The following is quoted from jzcjgh's post at 2003-5-12 22:09:29:
device=himem.sys /testmemff
 device=emm386.exe noems 
 device=oakcdrom.sys /D:mscd000
 device=btdosm.sys 
 device=flashpt.sys
 device=btcdrom.sys /D:mscd000
 device=aspi2dos.sys
 device=aspi8dos.sys
 device=aspi4dos.sys
 device=aspi8u2.sys
 device=aspicd.sys /D:mscd000
 dos=high,umb
 files=30
 buffers=45
 stacks=9,256
 devicehigh=ramdrive.sys /E 4096
 lastdrive=z

 When I install ME it says there isn't enough memory,
 what should I do?

 
 



Remove that whole section above and change it to:
device=himem.sys
device=emm386.exe noems
devicehigh=vide-cdd.sys
devicehigh=usbaspi.sys
devicehigh=usbcd.sys
devicehigh=ramdrive.sys /E 4096
dos=high,umb
files=30
buffers=45
stacks=9,256
lastdrive=z

That should do it.



After I added vide-cdd.sys usbaspi.sys usbcd.sys
and also changed CONFIG as you asked,
now it can't even find the CD-ROM drive.


Floor 20 Posted 2003-05-13 00:00 ·  中国 湖北 武汉 电信
元老会员
★★★★★
步行的人
Credits 9,654
Posts 3,351
Joined 2003-03-11 00:00
23-year member
UID 1113
Gender Male
From 湖北
Status Offline
You'll have to look at how mscdex is configured in your batch file.....

If you're not using usb, then don't load the corresponding drivers... don't listen to everything wengier says
wengier is only making a suggestion. Did you use the /d: parameter after the CD-ROM driver???
You didn't just copy wengier's file exactly, did you... hehe...



弄花香满衣,掬水月在手。
明月鹭鸟飞, 芦花白马走。
我自一过后,野渡现横舟。
青云碧空在,净瓶水不流。
http://dos.e-stone.cn/guestbook/index.asp
======中國DOS聯盟=====
我的新网页http://rsds.7i24.com欢迎光顾
Floor 21 Posted 2003-05-13 00:00 ·  中国 湖南 衡阳 中移铁通
初级用户
Credits 253
Posts 39
Joined 2003-05-09 00:00
23-year member
UID 1956
Gender Male
Status Offline
Thanks, everyone, I've already got it fixed.
Now conventional memory still has 616K left,
and 1M memory still has 666K left,
hehe!


Floor 22 Posted 2003-05-21 00:00 ·  中国 重庆 江北区 联通
初级用户
Credits 206
Posts 10
Joined 2002-11-04 00:00
23-year member
UID 145
Gender Male
Status Offline
I've learned enough to make a recovery disk, please give me your advice.
Also: how can a double menu return to the upper-level menu; and after running a program, how can it return to the menu? Asking for advice!

@echo off
goto %config%
OS
path=%RAMD%:\;a:\;%CDROM%:\
goto exit
:CD
MSCDEX.exe /D:mscd001 /L:Z
smartdrv.exe
goto exit
:NOCD
goto exit
:Backup
smartdrv.exe
ghost -clone,mode=pdump,src=1:1,dst=F:\back\XP_CLEAN.gho -z9 -fx -sure -rb
goto exit
:Restore
smartdrv.exe
ghost -clone,mode=pload,src=F:\back\XP_CLEAN.gho:1,dst=1:1 -sure -rb
:Operation
smartdrv.exe
MOUSE.exe
ghost.exe
goto exit
iskgen
MOUSE.exe
Diskgen.exe
:exit



menucolor=10,1
submenu=DOS
submenu=WORKS, Backup & Restore & Operation & Diskgen
menudefault=DOS,30

files=50
buffers=30
device=Himem.sys /testmemff
device=EMM386.exe NOEMS
dos=umb,high
set temp=d:\temp
set tmp=d:\temp
stacks=9,256
lastdrive=z

menuitem=CD, Start computer with CD-ROM support.
menuitem=NOCD, Start computer without CD-ROM support.
menucolor=10,1

menuitem=Backup, Backup your System
menuitem=Restore, System Restore form HD
menuitem=Operation, Operation Ghost use Mouse
menuitem=Diskgen, Set HD use Mouse
menuitem=Exit
menucolor=10,1

device=Oakcdrom.sys /D:mscd001





Floor 23 Posted 2003-05-21 00:00 ·  中国 湖北 武汉 硚口区 电信
元老会员
★★★★★
步行的人
Credits 9,654
Posts 3,351
Joined 2003-03-11 00:00
23-year member
UID 1113
Gender Male
From 湖北
Status Offline
Have you actually run this configuration???
弄花香满衣,掬水月在手。
明月鹭鸟飞, 芦花白马走。
我自一过后,野渡现横舟。
青云碧空在,净瓶水不流。
http://dos.e-stone.cn/guestbook/index.asp
======中國DOS聯盟=====
我的新网页http://rsds.7i24.com欢迎光顾
Floor 24 Posted 2003-05-21 00:00 ·  中国 重庆 江北区 联通
初级用户
Credits 206
Posts 10
Joined 2002-11-04 00:00
23-year member
UID 145
Gender Male
Status Offline
Master Rushi:
I have run it. I didn't find any problems. But I still have to ask you to correct it.
Let me ask again: with a double menu, how can I return to the upper-level menu; and after running a program, how can I return to the menu?
Thanks!
Floor 25 Posted 2003-05-21 00:00 ·  中国 湖北 武汉 电信
元老会员
★★★★★
步行的人
Credits 9,654
Posts 3,351
Joined 2003-03-11 00:00
23-year member
UID 1113
Gender Male
From 湖北
Status Offline
Do you mean returning to config's initial startup menu??
弄花香满衣,掬水月在手。
明月鹭鸟飞, 芦花白马走。
我自一过后,野渡现横舟。
青云碧空在,净瓶水不流。
http://dos.e-stone.cn/guestbook/index.asp
======中國DOS聯盟=====
我的新网页http://rsds.7i24.com欢迎光顾
Floor 26 Posted 2003-05-21 00:00 ·  中国 重庆 江北区 联通
初级用户
Credits 206
Posts 10
Joined 2002-11-04 00:00
23-year member
UID 145
Gender Male
Status Offline
Yes.
Floor 27 Posted 2003-05-22 00:00 ·  中国 湖北 武汉 电信
元老会员
★★★★★
步行的人
Credits 9,654
Posts 3,351
Joined 2003-03-11 00:00
23-year member
UID 1113
Gender Male
From 湖北
Status Offline
I'm afraid that's not possible, you can only use batch commands to achieve a similar effect. Use wbat or choice
弄花香满衣,掬水月在手。
明月鹭鸟飞, 芦花白马走。
我自一过后,野渡现横舟。
青云碧空在,净瓶水不流。
http://dos.e-stone.cn/guestbook/index.asp
======中國DOS聯盟=====
我的新网页http://rsds.7i24.com欢迎光顾
Floor 28 Posted 2003-05-22 00:00 ·  中国 重庆 江北区 联通
初级用户
Credits 206
Posts 10
Joined 2002-11-04 00:00
23-year member
UID 145
Gender Male
Status Offline
Sigh~~~ looks like I still have to learn wbat or choice.
I don't want to become a DOS expert. I just want to use DOS as a tool.

Master Rushi: is wbat hard to learn??
Floor 29 Posted 2003-05-22 00:00 ·  中国 湖北 武汉 电信
元老会员
★★★★★
步行的人
Credits 9,654
Posts 3,351
Joined 2003-03-11 00:00
23-year member
UID 1113
Gender Male
From 湖北
Status Offline
Not very hard.....
弄花香满衣,掬水月在手。
明月鹭鸟飞, 芦花白马走。
我自一过后,野渡现横舟。
青云碧空在,净瓶水不流。
http://dos.e-stone.cn/guestbook/index.asp
======中國DOS聯盟=====
我的新网页http://rsds.7i24.com欢迎光顾
Floor 30 Posted 2003-05-22 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
WBAT has a detailed English tutorial.
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Forum Jump: