Jump to content











Photo
- - - - -

Get Physical Drive number from Drive letter under WinPE

winpe drive

  • Please log in to reply
26 replies to this topic

#26 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12686 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.

 

Peter



#27 steve6375

steve6375

    Platinum Member

  • Developer
  • 6461 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars
  •  
    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