Is there a command line (or autohotkey) way of dismounting a USB drive?

Posted by justintime on Super User See other posts from Super User or by justintime
Published on 2010-04-30T19:19:16Z Indexed on 2010/05/02 5:48 UTC
Read the original article Hit count: 325

Filed under:
|
|
|
|

I find dismounting a USB drive takes far too many mouse clicks for my liking. Is there are command line way of doing it (XP and Vista)?

Addition I have an eye condition that makes hand mouse coordination difficult so any suggestion that there aren't too many clicks will be downvoted as not answering my question.

However I use AutoHotkey a lot and one use case would be to call it from an AHK script. So if there is a way to code it in AHK that will do. Added this to the tags.

Further question - is it safe to remove a disk when the computer is a. on Standby or b. Hibernated. I recall that W2000 got uspet if you pulled a disk from a hibernated machine. Or is it better to explicitly dismount or sync before you hibernate or standby - prabably in a script.

© Super User or respective owner

Related posts about usb-flash-drive

Related posts about usb