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-01 10:17
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » How to display the names of the first-level directories under all fixed hard disk partitions using batch processing View 2,879 Replies 3
Original Poster Posted 2017-08-30 12:41 ·  中国 湖北 武汉 移动
新手上路
Credits 8
Posts 8
Joined 2017-08-21 22:22
8-year member
UID 182480
Gender Male
Status Offline
For example, my computer has 2 local hard drives: c: and d:, and e: is a USB flash drive. I want to display only the names of all first-level directories under the local fixed hard drive, excluding the mobile USB flash drive.
Floor 2 Posted 2017-08-30 15:45 ·  中国 海南 海口 电信
超级版主
★★★★
Credits 3,673
Posts 2,020
Joined 2016-02-01 00:00
10-year member
UID 181465
Gender Male
Status Offline
It is said online to use fdisk, but I can't seem to use it in the CMD of WIN7.

(Search results for "How to quickly view all hard disk partitions under DOS".)

Note: I'm a casual newbie, not a technical person.

[ Last edited by zzz19760225 on 2017-8-30 at 15:47 ]
1<词>,2,3/段\,4{节},5(章)。
Floor 3 Posted 2017-08-30 16:55 ·  中国 湖北 武汉 移动
新手上路
Credits 8
Posts 8
Joined 2017-08-21 22:22
8-year member
UID 182480
Gender Male
Status Offline
Are you the leader? It would be great to have a complete result.
Floor 4 Posted 2017-08-30 23:16 ·  中国 海南 海口 电信
超级版主
★★★★
Credits 3,673
Posts 2,020
Joined 2016-02-01 00:00
10-year member
UID 181465
Gender Male
Status Offline
Originally posted by goltaxhs at 2017-8-30 16:55:
Are you the leader?
How nice it would be to get a complete result.

I'm not the leader, I'm someone who looks for DOS source code to read.
But so far, I still don't understand how to look at the source code!
1<词>,2,3/段\,4{节},5(章)。
Forum Jump: