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-27 01:46
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » How to tell which drive letter corresponds to a partition View 978 Replies 2
Original Poster Posted 2003-12-11 00:00 ·  中国 广东 佛山 三水区 电信
初级用户
爱之屋论坛管理员
Credits 158
Posts 14
Joined 2003-12-17 00:00
22-year member
UID 14122
Gender Male
Status Offline
How did this sink??
Does anyone know?
Floor 2 Posted 2003-12-17 00:00 ·  中国 广东 佛山 禅城区 电信
初级用户
爱之屋论坛管理员
Credits 158
Posts 14
Joined 2003-12-17 00:00
22-year member
UID 14122
Gender Male
Status Offline
I’d like to ask the experts a question:
I have two hard disks:
Hard disk 1: primary partition (1:1, FAT32), extended partition (there is one partition in it: 1:2, which is NFTS)

Hard disk 2: primary partition (2:1, FAT32), extended partition (there are two partitions in it: 2:2, 2:3, both FAT32)

I would like to ask:
1. After booting into DOS, how can I tell which drive letter each partition corresponds to? For example, which drive letter does partition 1:1 correspond to, and which drive letter does partition 1:2 correspond to, etc.?
2. How can I assign the answer to the first question to the corresponding environment variables?
Floor 3 Posted 2004-01-01 00:00 ·  中国 江西 吉安 电信
版主
★★★★
Credits 7,296
Posts 1,628
Joined 2002-10-16 12:00
23-year member
UID 10
Gender Male
Status Offline
Under DOS, generally speaking, NTFS partitions are not recognized automatically. So in your case, 1:1 is drive C, 1:2 disappears and is not assigned a drive letter. Then 2:1 is drive D, 2:2 is drive E, and 2:3 is drive F.
If you set hard disk 2 as the primary hard disk and 1 as the secondary hard disk, then 2:1 is drive C, 1:1 is drive D, 2:2 is drive E, and 2:3 is drive F.
In other words, primary partitions come first. It is the same under 98.
I haven’t thought much about the second question, not sure.
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: