中国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-08-19 16:06
47,814 topics / 349,908 posts / today 0 new / 48,259 members
DOS疑难解答 & 问题讨论 (解答室) » Question about whether SUBST can support a CD-ROM drive
Printable Version  1,014 / 1
Floor1 softmouse Posted 2009-01-13 09:07
初级用户 Posts 8 Credits 20
A program has to access specific files from drive C. After testing, I found that using SUBST to emulate the folder containing the program as drive C can solve the problem. It works fine with floppy disks and RAMDDSK virtual disks, but it fails only with a CD-ROM.

D:\DOSTOOL>subst c: d:\dostool
DOS 7.1 SUBST v7.10 (Revision 4.11.1492)
Copyright (c) 1989-2003 Datalight, Inc.

Path not found - d:\DOSTOOL

Here d: is the CD-ROM drive, and the folder d:\DOSTOOL really does exist.

Is there any solution or alternative workaround? Thanks!
Floor2 lukchen Posted 2009-01-21 17:38
初级用户 Posts 17 Credits 48
My C drive is the system drive, so that drive letter is already in use. I can't test it with subst.
Try disabling the CD-ROM drive in Device Manager.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023