How to eject/dismount an external USB drive from command line?

  • Thread starter Thread starter Thomas Stein
  • Start date Start date
T

Thomas Stein

Ok, I could dismount an external USB harddisc by left-clicking on the USB-Icon in the Systray
and choose the appropriate drive to dismount it.
But I want to do this from command line.

How do I do this? I have heard from a devcon.exe HardwareDevice Manager tool.
Does that run under WIn2000 too?

How do I code a disconnect of drive T: with devcon ?

Thomas
 
Thomas Stein said:
Ok, I could dismount an external USB harddisc by left-clicking on the USB-Icon in the Systray
and choose the appropriate drive to dismount it.
But I want to do this from command line.

How do I do this? I have heard from a devcon.exe HardwareDevice Manager tool.
Does that run under WIn2000 too?

How do I code a disconnect of drive T: with devcon ?

deveject -EjectDrive:T:
 
Back
Top