Show disk partition style v1.1

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

  1. wtarkan

    wtarkan MDL Member

    Sep 1, 2009
    194
    379
    10
    #1 wtarkan, Jan 27, 2016
    Last edited: Feb 29, 2020
  2. netlords

    netlords MDL Novice

    Jun 20, 2012
    35
    6
    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

    May 21, 2007
    9,039
    3,388
    300
    It just returns what it was asked to echo e.g. %FIRMWARE_TYPE% nothing else.
     
  4. netlords

    netlords MDL Novice

    Jun 20, 2012
    35
    6
    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

    Jan 3, 2010
    1,446
    1,421
    60
    And for my installation with Windows 10 Pro its returning "Legacy", as expected.
     
  6. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,328
    7,044
    210
    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

    Feb 2, 2016
    5
    0
    0
    Thank you that's true.
     
  8. urie

    urie Moderator
    Staff Member

    May 21, 2007
    9,039
    3,388
    300
    Correct I tested on windows 7 x64 :worthy:
     
  9. Flipp3r

    Flipp3r MDL Expert

    Feb 11, 2009
    1,964
    907
    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...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. wtarkan

    wtarkan MDL Member

    Sep 1, 2009
    194
    379
    10
    New version released (Saturday, February 29, 2020)