Windows Vista Safely Remove Hardware Script

  • Thread starter Thread starter RobRSD
  • Start date Start date
R

RobRSD

Guest
Is there a batch command to initiate a "safely remove hardware" request that
normally would come from clicking on the appropriate icon in the systems
tray? If not, is there another scripting solution to do so - vbScript, Power
Shell, etc?

Thanks in advance!
 
Re: Safely Remove Hardware Script

--safely remove hardware.vbs--
set shell=createobject("wscript.shell")
shell.run "RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll"
--end file--
--
Was this helpful? Then click the Ratings button. Voting helps the web
interface.
http://www.microsoft.com/wn3/locales/help/help_en-us.htm#RateAPostAsAnswer
Mark L. Ferguson
..

"RobRSD" <RobRSD@discussions.microsoft.com> wrote in message
news:8167746C-C285-409C-8891-05E9477C284E@microsoft.com...
> Is there a batch command to initiate a "safely remove hardware" request
> that
> normally would come from clicking on the appropriate icon in the systems
> tray? If not, is there another scripting solution to do so - vbScript,
> Power
> Shell, etc?
>
> Thanks in advance!
 
Re: Safely Remove Hardware Script

RobRSD wrote:
> Is there a batch command to initiate a "safely remove hardware" request that
> normally would come from clicking on the appropriate icon in the systems
> tray? If not, is there another scripting solution to do so - vbScript, Power
> Shell, etc?
>


http://www.uwe-sieber.de/drivetools_e.html#removedrive
 
Re: Safely Remove Hardware Script

Thanks very much - your program is spot on!

Rob


"Uwe Sieber" wrote:

> RobRSD wrote:
> > Is there a batch command to initiate a "safely remove hardware" request that
> > normally would come from clicking on the appropriate icon in the systems
> > tray? If not, is there another scripting solution to do so - vbScript, Power
> > Shell, etc?
> >

>
> http://www.uwe-sieber.de/drivetools_e.html#removedrive
>
>
>
 
Back
Top