"Safely remove" via command line
Friday, August 1, 2008 at 3:05 am Windows XP Annoyances Discussion Forum
Posted by MartinM
(7549 messages posted)
I am working on a laptop which is "docked" to numerous devices via one USB connection
and a chain of 7-port hubs.
The owner finds it tedious going through all the "safely remove" steps and I found
the Microsoft command-line alternative, Devcon, http://support.microsoft.com/kb/311272.
But it doesn't quite work the way I expected - I wonder if anyone has experience
with this tool, or knows of an alternative ?
Here's the issue:
Using the "safely remove" icon, a USB drive is disconnected, the drive disappears
from the "safely remove" list and the drive shuts down.
Using Devcon, the drive appears to be disconnected (not 100% sure), in the list of
connected devices it is still there but without the drive letter and the
drive does not shut down.
I was intending to write a batch file using Devcon commands to shut down all the
attached devices but it seems only to be doing a partial job. Grateful for any ideas.
I know that a shutdown does all this automatically, but we're trying to avoid that
if possible.
|
Responses to this message:
|
|