Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Safely Remove Hardware Script

Reply
Thread Tools Display Modes

Safely Remove Hardware Script

 
 
RobRSD
Guest
Posts: n/a

 
      05-10-2008
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!
 
Reply With Quote
 
 
 
 
Mark L. Ferguson
Guest
Posts: n/a

 
      05-11-2008
--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...eAPostAsAnswer
Mark L. Ferguson
..

"RobRSD" <> wrote in message
news:8167746C-C285-409C-8891-...
> 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!


 
Reply With Quote
 
Uwe Sieber
Guest
Posts: n/a

 
      05-11-2008
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


 
Reply With Quote
 
RobRSD
Guest
Posts: n/a

 
      05-11-2008
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
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Safely Remove Hardware Sandrien13 Windows Vista Hardware 9 04-28-2008 03:35 PM
Safely Remove Hardware oggycompton Windows Vista General Discussion 2 12-05-2007 07:08 AM
Safely remove hardware? oggycompton Windows Vista General Discussion 3 12-02-2007 09:34 AM
safely remove hardware A Windows Vista Hardware 4 11-16-2007 01:49 PM
safely remove hardware CAD Yoda Windows Vista Performance 1 08-13-2007 11:09 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59