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-25 13:50
中国DOS联盟论坛 » 其它操作系统综合讨论区 » [Help] Which tool in the CMD environment is similar to BDRV under DOS? View 1,594 Replies 1
Original Poster Posted 2010-06-07 16:40 ·  中国 广东 东莞 联通
银牌会员
★★★
Credits 1,282
Posts 538
Joined 2002-11-02 00:00
23-year member
UID 129
Gender Male
Status Offline
Recently, I'm researching automatic partitioning and automatic backup and restoration in the CMD environment of PE (this function has been completed in pure DOS). Currently, I can't find a tool equivalent to BDRV.EXE in the CMD environment of PE. The function of this tool is to list the drive letters of the partitions of the current hard disk. Because PE is overly streamlined, it doesn't support VBS scripts and WMI functions, so I'm still considering using a tool as a replacement. Is there anyone who can help? Thank you!
Floor 2 Posted 2010-06-07 17:36 ·  中国 广东 东莞 联通
银牌会员
★★★
Credits 1,282
Posts 538
Joined 2002-11-02 00:00
23-year member
UID 129
Gender Male
Status Offline
After some research, there are some clues:

gdisk32 1|findstr /i ":"

How to make the result display only as:
C:
D:
E:
Or
C: D: E:?
Forum Jump: