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-07-23 08:52
中国DOS联盟论坛 » DOS启动盘 & LOGO技术 (启动盘室) » How to use xmsdsk in config.sys to create a virtual disk with a specified drive letter? View 1,632 Replies 4
Original Poster Posted 2003-07-29 00:00 ·  中国 广东 深圳 电信
中级用户
Credits 215
Posts 37
Joined 2003-07-28 00:00
22-year member
UID 7640
Gender Male
Status Offline
I used device=a:\xmsdsk.exe 3072, and it always reports a floating point error and hangs.
When I load it with wrapper.sys, it always tells me to Increase lastdrive, but my lastdrive is already set to Z, and the virtual drive letter I want is X.
Loading it from the command line is no problem.
Also, when using an XMSDSK RAM disk, can EMM386 be loaded?
Floor 2 Posted 2003-07-29 00:00 ·  中国 上海 宝山区 电信
金牌会员
★★★★
小飞侠
Credits 4,590
Posts 1,812
Joined 2003-04-02 00:00
23-year member
UID 1400
Gender Male
From 上海市
Status Offline
xmsdsk.exe seems not to work!
You'd better use Microsoft's own Ramdrive.sys instead!
Actually, Ramdrive.sys can determine the drive letter!
Floor 3 Posted 2003-07-29 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
NO NO NO! Shen Jie is wrong, RAMDRIVE.SYS really cannot specify the drive letter!
Wengier - 新DOS时代

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

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

Floor 4 Posted 2003-07-29 00:00 ·  中国 广东 深圳 南山区 电信
中级用户
Credits 215
Posts 37
Joined 2003-07-28 00:00
22-year member
UID 7640
Gender Male
Status Offline
When ramdrive.sys is loaded in config.sys, you can then get the RAM disk's drive letter, but unfortunately I don't know how to get it through a variable in config.sys.
Floor 5 Posted 2003-07-29 00:00 ·  中国 上海 宝山区 电信
金牌会员
★★★★
小飞侠
Credits 4,590
Posts 1,812
Joined 2003-04-02 00:00
23-year member
UID 1400
Gender Male
From 上海市
Status Offline
The following is quoted from Wengier's post on 2003-7-29 20:22:42:
NO?NO?NO! Shen Jie is wrong, RAMDRIVE.SYS really cannot specify the drive letter!

Sorry, I remembered it wrong,
thanks to Wengier for the correction!
Forum Jump: