中国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-26 16:08
47,812 topics / 349,910 posts / today 0 new / 48,264 members
其它操作系统综合讨论区 » [Help] Which tool in the CMD environment is similar to BDRV under DOS?
Printable Version  1,821 / 1
Floor1 chishingchan Posted 2010-06-07 16:40
银牌会员 Posts 538 Credits 1,284
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!
Floor2 chishingchan Posted 2010-06-07 17:36
银牌会员 Posts 538 Credits 1,284
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:?
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023