Show disk partition style v1.1

Discussion in 'Application Software' started by wtarkan, Jan 27, 2016.

  1. wtarkan

    wtarkan MDL Member

    Joined:
    Sep 1, 2009
    Messages:
    193
    Likes Received:
    367
    Trophy Points:
    10
    #1 wtarkan, Jan 27, 2016
    Last edited: Feb 29, 2020
  2. netlords

    netlords MDL Novice

    Joined:
    Jun 20, 2012
    Messages:
    36
    Likes Received:
    6
    Trophy Points:
    0
    hi

    a little supplement from me - if the pc is booted you can check the boot-type via undocumented variable %FIRMWARE_TYPE%
    Typing echo %FIRMWARE_TYPE% in a cmd windows will return you legacy or not.
     
  3. urie

    urie Moderator Staff Member

    Joined:
    May 21, 2007
    Messages:
    9,035
    Likes Received:
    3,383
    Trophy Points:
    300
    It just returns what it was asked to echo e.g. %FIRMWARE_TYPE% nothing else.
     
  4. netlords

    netlords MDL Novice

    Joined:
    Jun 20, 2012
    Messages:
    36
    Likes Received:
    6
    Trophy Points:
    0
    What os do you have?

    Here (with Win 8.1) its returning:

    c:\Windows\system> echo %FIRMWARE_TYPE%
    UEFI
     
  5. rpo

    rpo MDL Expert

    Joined:
    Jan 3, 2010
    Messages:
    1,166
    Likes Received:
    990
    Trophy Points:
    60
    And for my installation with Windows 10 Pro its returning "Legacy", as expected.
     
  6. Carlos Detweiller

    Carlos Detweiller MDL Spinning Tortoise

    Joined:
    Dec 21, 2012
    Messages:
    4,514
    Likes Received:
    4,542
    Trophy Points:
    150
    Doesn't work on anything less than Windows 8, I guess. Windows 7 doesn't create that Environment Variable, and the command fails.
     
  7. CarloE

    CarloE MDL Novice

    Joined:
    Feb 2, 2016
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    Thank you that's true.
     
  8. urie

    urie Moderator Staff Member

    Joined:
    May 21, 2007
    Messages:
    9,035
    Likes Received:
    3,383
    Trophy Points:
    300
    Correct I tested on windows 7 x64 :worthy:
     
  9. Flipp3r

    Flipp3r MDL Expert

    Joined:
    Feb 11, 2009
    Messages:
    1,743
    Likes Received:
    772
    Trophy Points:
    60
    #9 Flipp3r, Feb 2, 2016
    Last edited: Feb 3, 2016
    Where does %firmware_type% come from? I've used it & know it returns UEFI or Legacy but it's not listed as an environment variable when you type "set".

    Never mind, my friend Google found that it's a:
    By the way this tool does not help the novice user know if they have booted in UEFI or Legacy, which is probably what they want to know...
     
  10. wtarkan

    wtarkan MDL Member

    Joined:
    Sep 1, 2009
    Messages:
    193
    Likes Received:
    367
    Trophy Points:
    10
    New version released (Saturday, February 29, 2020)