Re: Command Prompt Command to:
From: John Coode (faecius_at_yahoo.co.uk)
Date: 12/01/04
- Next message: BobOnTheJob: "How do I set default hibernate settings?"
- Previous message: Michael Stevens: "Re: Please help with XP Professional dual boot"
- In reply to: Bob Felton: "Command Prompt Command to:"
- Next in thread: Philip Herlihy: "Re: Command Prompt Command to:"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 1 Dec 2004 17:40:06 -0000
"Bob Felton" <rpf.removethis@usa.net> wrote in message
news:ma8qq0l2t3bipug955natp2kv5bcnttg89@4ax.com...
> By chance is there a command prompt command that can be run from a
> batch file that allows removing a connected USB device safely? I'm
> thinking of using a USB HDD for unattended backup. The drive will be
> connected via a USB cable but AC power to it will be turned ON and OFF
> via a timer function (so the drive doesn't spin when not in actual
> use). Manual testing of AC power ON and OFF seems to work OK but at
> times a message pops up saying the device was disconnected in an usafe
> manner. I'm thinking of running the requested command upon completion
> of the backup so when the timer kicks in and turns the drive OFF it is
> done so in a safe manner. Tnx!
> --
> Bob
> --
> Bob Felton
The devcon utility can be used in a batch file to disable the device but
that may not be any better than cutting the power and it will need
administrator privileges to run.
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q311272
- Next message: BobOnTheJob: "How do I set default hibernate settings?"
- Previous message: Michael Stevens: "Re: Please help with XP Professional dual boot"
- In reply to: Bob Felton: "Command Prompt Command to:"
- Next in thread: Philip Herlihy: "Re: Command Prompt Command to:"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|