Jump to content

- - - - -

Get Physical Drive number from Drive letter under WinPE

winpe drive

  • Please log in to reply
26 replies to this topic

#26 pscEx


    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
    European Union

Posted 27 November 2016 - 09:30 AM

This is the first post of a new member. I assume spam and remove the link.



#27 steve6375


    Platinum Member

  • Developer
  • 7318 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
    United Kingdom

Posted 04 December 2016 - 11:16 AM

I have made an application to get this result. Very easy!

Gdfy.exe --deviceid --drive=C
Gdfy.exe --deviceid --drive=D:
Gdfy.exe --deviceid --drive=E

Add --rae parameter to get the ERRORLEVEL as a number of disks, 1110 if not successful.

Gdfy.exe --deviceid --drive=C --rae

Gdfy.exe (25Kb)

Is Gdfy a 32-bit or 64-bit application? For WinPE we would need both types of executable.

Also tagged with one or more of these keywords: winpe, drive

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users