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-06-26 06:27
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » Please, experts, give me some pointers—I really can't figure this problem out. View 928 Replies 5
Original Poster Posted 2003-02-01 00:00 ·  中国 贵州 毕节 电信
初级用户
Credits 135
Posts 7
Joined 2003-02-01 00:00
23-year member
UID 825
Gender Male
Status Offline
I made a pqmagic image file for an EasyBoot boot menu. The resulting CD image file iso runs perfectly normally in Virtual PC, but after burning it to a CD and running it, this problem appears (system message: Not enough drive letters available invalid drive specification). I looked carefully at Autoexec.bat and config.sys but couldn't see any problem, so I have no choice but to ask the experts for help. The contents of the two files are as follows:
Autoexec.bat
@ECHO OFF
MSCDEX.EXE /D:mscd001 /L:Z
Z:\SOFT\PQMAGIC\MOUSE.COM
Z:\SOFT\PQMAGIC\PQMAGIC.EXE

config.sys
device=himem.sys /testmemff
device=oakcdrom.sys /D:mscd001
files=20
buffers=20
dos=high,umb
stacks=9,256
lastdrive=z
Floor 2 Posted 2003-02-01 00:00 ·  中国 广东 佛山 禅城区 电信
元老会员
★★★★
Credits 5,170
Posts 1,637
Joined 2002-10-16 00:00
23-year member
UID 8
Gender Male
From 广东佛山
Status Offline
Not enough drive letters available invalid drive specification definitely means there aren't enough drive letters.
I suspect the “lastdrive=z” in config.sys is wrong. Please check carefully.
我的网志
http://hzmys.blog.163.com/
我的网盘
firststep.qjwm.com
fsmys.ys168.com
ssmys.ys168.com
www.brsbox.com/fsmys
www.brsbox.com/ssmys
www.brsbox.com/ccdos
Floor 3 Posted 2003-02-02 00:00 ·  中国 贵州 毕节 电信
初级用户
Credits 135
Posts 7
Joined 2003-02-01 00:00
23-year member
UID 825
Gender Male
Status Offline
It's already defined as the last drive letter, so how can it still not be enough? That's exactly the part I don't understand.
Floor 4 Posted 2003-02-02 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Which command gives those error messages?

I guess it's caused by assigning the CD drive letter to Z. Try moving it forward a bit, for example MSCDEX /D:xxx /L:K, or just MSCDEX /D:xxx directly.

Or you can also increase the final drive letter specified by LASTDRIVE further, for example: LASTDRIVE=32 to specify the maximum number of drive letters as 32, instead of Z (Z means 26). Note: “LASTDRIVE=number” is an undocumented DOS usage, only for MS-DOS 7.x or DR-DOS. In that case, 6 more drives can be accessed, namely:


:
^:
_:
`:

Actually, this usage also works in Win2K, for example: SUBST ^: C:\TEMP, and then the ^ drive can be redirected to the C:\TEMP folder.



Wengier - 新DOS时代

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

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

Floor 5 Posted 2003-02-02 00:00 ·  中国 贵州 毕节 电信
初级用户
Credits 135
Posts 7
Joined 2003-02-01 00:00
23-year member
UID 825
Gender Male
Status Offline
Really good, worthy of being the super moderator. Many thanks. I'll give it a try.
Floor 6 Posted 2003-07-04 00:00 ·  中国 江西 吉安 电信
版主
★★★★
Credits 7,296
Posts 1,628
Joined 2002-10-16 12:00
23-year member
UID 10
Gender Male
Status Offline
Learn how to ask a question first.
Change your post title to something better.
From now on, posts with titles like this may end up with only these three fates:
1。No one pays any attention. (This is the best-case scenario)
2。Moved to the off-topic section.
3。Deleted.
ko20010214
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器
Forum Jump: