Archived from groups: comp.sys.ibm.pc.hardware.storage (More info?)
"Thomas Stein" <email@example.com> wrote in message
> 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.