bootice-diskinfo参数

http://bbs.wuyou.net/forum.php?mod=redirect&goto=findpost&ptid=57675&pid=3023573&fromuid=298214

@devdevadev:
Added some extra features like RMPARTUSB .EXE:
bootice /listdisks /list
bootice /listdisks /find
bootice /listdisks /getdrv /drive=n

BOOTICEx86.rar
387 KB, 下载次数: 87

http://bbs.wuyou.net/forum.php?mod=redirect&goto=findpost&ptid=57675&pid=3023713&fromuid=298214
5178#
USB HDDs are not listed - it should list ALL USB disks (maybe have /listusbrem to just list removable disks?)

/list - order is not numerical - e.g. 3 4 5 - it depends on order user connected them in.

/listdisks /find /file=f.txt - selects the first disk to be connected (e.g. 5) not the lowest disk number - e.g. 3

/listdisks should be /listusb and use /listdisks to list all disks (USB and non-USB)

can these be corrected please to make it more useful? Thanks.


Use "booticex86 /diskinfo /list /file=xxx1.cmd" to list disks;
Use "booticex86 /diskinfo /find /file=xxx2.cmd" to find number and letter of first drive
Use "booticex86 /diskinfo /getdrv /drive=n /file=xxx3.cmd" to report drive letter+size+description

And, an extra "/usbonly" parameter indicates bootice to list usb disks only.

3、/diskinfo
此参数用于输出磁盘信息,类似 RMPARTUSB.EXE。
使用 /file=xxx 来指定输出文件。
/diskinfo /list /file=xxx: 列出磁盘信息;
/diskinfo /find /file=xxx: 以环境变量的形式将磁盘信息输出到文件;
/diskinfo /getdrv /drive=n /file=xxx以环境变量的形式列出指定磁盘的信息。
如果指定了 /usbonly 参数,仅输出 USB 磁盘信息,否则,列出所有磁盘。

 

booticex86 /diskinfo /list /file=xxx1.cmd
booticex86 /diskinfo /find /file=xxx2.cmd
booticex86 /diskinfo /getdrv /drive=n /file=xxx3.cmd

xxx1.cmd:

Drives Count: 3

*DRIVE 0: Romex RAMDISK (19.9 GB, C:)
DRIVE 1: Reeinno FR256GB R2S3 (238.5 GB, G: H:)
DRIVE 2: ST1000LM035-1RK172 (931.5 GB, D: E: F:)

xxx2.cmd:

SET DRIVESCOUNT=3
SET DRIVE=0
SET DRIVEDESC=Romex RAMDISK (19.9 GB, C:)
SET DRIVESIZE=21378367488
SET DRIVELETTER=C:

SET DRIVE0DESC=Romex RAMDISK (19.9 GB, C:)
SET DRIVE0SIZE=21378367488
SET DRIVE0LETTER=C:

SET DRIVE1DESC=Reeinno FR256GB R2S3 (238.5 GB, G: H:)
SET DRIVE1SIZE=256060514304
SET DRIVE1LETTER=G: H:

SET DRIVE2DESC=ST1000LM035-1RK172 (931.5 GB, D: E: F:)
SET DRIVE2SIZE=1000204886016
SET DRIVE2LETTER=D: E: F:

xxx3.cmd:

SET USBDRIVE=0
SET USBDRIVEDESC=Romex RAMDISK (19.9 GB, C:)
SET USBDRIVESIZE=21378367488
SET USBDRIVELETTER=C:

原文地址:https://www.cnblogs.com/liuzhaoyzz/p/10297495.html