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-12 13:10
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » Using Virtual Drives View 1,505 Replies 7
Original Poster Posted 2003-04-04 00:00 ·  中国 安徽 合肥 电信
中级用户
Credits 272
Posts 43
Joined 2003-04-04 00:00
23-year member
UID 1392
Gender Male
Status Offline
Let me ask the experts, I used subst to create a virtual drive. Does this mean I can increase the hard disk's capacity?
Floor 2 Posted 2003-04-04 00:00 ·  中国 广东 佛山 禅城区 电信
元老会员
★★★★
Credits 5,170
Posts 1,637
Joined 2002-10-16 00:00
23-year member
UID 8
Gender Male
From 广东佛山
Status Offline
Of course not. But you can use the SUBST command to make a huge “floppy disk” to install certain software. Or make the path for some software shorter so it's easier to run.
我的网志
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-04-04 00:00 ·  中国 江苏 扬州 仪征市 电信
中级用户
★★
Credits 381
Posts 75
Joined 2002-10-15 00:00
23-year member
UID 6
Gender Male
Status Offline
subst is used to virtualize a directory on the hard disk as a floppy disk
Floor 4 Posted 2003-04-04 00:00 ·  中国 安徽 合肥 电信
中级用户
Credits 272
Posts 43
Joined 2003-04-04 00:00
23-year member
UID 1392
Gender Male
Status Offline
If the target drive being virtualized is gone or the files are deleted, will it affect the virtual drive? And can you delete files in the virtual drive and use it as if it were a hard disk?
Floor 5 Posted 2003-04-04 00:00 ·  加拿大 安大略省 多伦多
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
What SUBST virtualizes still counts as a hard disk, I guess, but it is definitely not a real hard disk. When the actual one is deleted, the virtual one is gone too. More precisely, SUBST is a drive-letter relocator; it only maps the drive letter, that's all.
Wengier - 新DOS时代

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

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

Floor 6 Posted 2003-04-04 00:00 ·  中国 广西 贵港 电信
高级用户
★★★
Credits 915
Posts 309
Joined 2002-12-22 00:00
23-year member
UID 567
Gender Male
Status Offline
.

The program file for the Subst command, Subst.exe, is stored in the “C:\Windows\Command” folder. Its function is to make a drive letter equivalent to a specified folder, that is, to use a disk drive letter in place of a folder name. The format is as follows:

  Subst

  Where: “Drive1:” is the virtual drive letter assigned to replace the folder, and “Drive2:\Path” is the folder and path to be replaced. The command “subst a: d:\mydisk” virtualizes the folder “d:\mydisk” as drive A. To delete the virtual drive letter, execute “Subst Drive1: /D” in DOS mode. For this example, the steps to delete the virtual drive letter are as follows:

  1. Click “Start→Programs→MS-DOS Mode” to open a DOS window.

  2. At the DOS prompt, type the command:

  subst a: /D
Floor 7 Posted 2003-04-05 00:00 ·  中国 安徽 合肥 电信
中级用户
Credits 272
Posts 43
Joined 2003-04-04 00:00
23-year member
UID 1392
Gender Male
Status Offline
Thanks to all the experts for the explanations!
Floor 8 Posted 2003-06-01 00:00 ·  中国 广东 广州 教育网
初级用户
Credits 162
Posts 15
Joined 2003-06-01 00:00
23-year member
UID 2763
Gender Male
Status Offline
I think a simpler explanation is this:
If you install a virtual CD-ROM drive on your hard disk,
does your hard disk space become larger?
Obviously not, unless you've never installed one before
Forum Jump: