中国DOS联盟论坛

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-09-06 10:20
47,812 topics / 349,914 posts / today 0 new / 48,268 members
DOS启动盘 & LOGO技术 (启动盘室) » How to use xmsdsk in config.sys to create a virtual disk with a specified drive letter?
Printable Version  1,730 / 4
Floor1 cqsquall Posted 2003-07-29 00:00
中级用户 Posts 37 Credits 215
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?
Floor2 沈洁 Posted 2003-07-29 00:00
金牌会员 Posts 1,812 Credits 4,590 From 上海市
xmsdsk.exe seems not to work!
You'd better use Microsoft's own Ramdrive.sys instead!
Actually, Ramdrive.sys can determine the drive letter!
Floor3 Wengier Posted 2003-07-29 00:00
系统支持 Posts 10,521 Credits 27,736
NO NO NO! Shen Jie is wrong, RAMDRIVE.SYS really cannot specify the drive letter!
Floor4 cqsquall Posted 2003-07-29 00:00
中级用户 Posts 37 Credits 215
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.
Floor5 沈洁 Posted 2003-07-29 00:00
金牌会员 Posts 1,812 Credits 4,590 From 上海市
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!
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023