Sign in with
Sign up | Sign in
Your question

How to eject/dismount an external USB drive from command l..

Last response: in Storage
Share
Anonymous
a b G Storage
August 2, 2005 1:44:44 AM

Archived from groups: microsoft.public.win2000.hardware,microsoft.public.windowsxp.hardware,comp.sys.ibm.pc.hardware.storage (More info?)

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
Anonymous
a b G Storage
August 5, 2005 8:54:26 PM

Archived from groups: comp.sys.ibm.pc.hardware.storage (More info?)

"Thomas Stein" <tstein@email.com> wrote in message
news:42ee97cc$0$6977$9b4e6d93@newsread2.arcor-online.net...
> 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 Hardware Device Manager tool.
> Does that run under WIn2000 too?
>
It is part of the Windows DDK, and does run under Win2K.

> How do I code a disconnect of drive T: with devcon ?
>
It doesn't know about drive letters.
Try this. substring is from listclass output.

devcon listclass diskdrive
devcon remove *substring*
Related resources
!