zoukankan      html  css  js  c++  java
  • 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:

  • 相关阅读:
    自定义博客园样式
    Serilog 记录日志
    1 Python命令行参数(脚本神器)
    原创powershell脚本:通过远程桌面3389黑名单,阻止黑客ip
    在win中,给powershell客户端,搭建sshd服务器。
    分享我编写的powershell脚本:ssh-copy-id.ps1
    猪懂傻改之《powershell 代码规范》
    为啥没有操作系统托管的队列池?没有托管的账户?
    powershell脚本:你的文件已经被黑客篡改.ps1
    巧用linux版powershell,管理linux下docker的image,container
  • 原文地址:https://www.cnblogs.com/liuzhaoyzz/p/10297495.html
Copyright © 2011-2022 走看看