--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!