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

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
 
G

Gary Chanson

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:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top