[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: Stopping USB drives from XY4



** Reply to message from Paul Breeze  on Mon, 12
Dec 2005 13:32:48 GMT


> However my ambition was to be able to stop the USB flash drive from within XY4,
> without having to switch to the windows desktop. Nothing I have tried so far
> seems capable of actually stopping the USB drive from the command line.
> Perhaps it is simply not possible.

GoXy.exe does it. Can do pretty much anything concerning interaction with the
Desktop. I have a script that can "Stop" any device. You answered my query
earlier:
> The Unplug or Eject Harware dialog says
> "Stop USB Mass Storage Device - Drive (F:)"
But that can't be what it says. If you run this from DOS:
 RunDLL32.exe shell32.dll,Control_RunDLL hotplug.dll
you get a large box called "Unplug or Eject Hardware". On separate lines it
lists the various peripherals you are running -- it does NOT say "Stop USB
Mass...", it just lists the devices. What does the USB line say? Without
knowing, I can't adapt the script for your peripheral.

-----------------------------
Robert Holmgren
holmgren@xxxxxxxx
-----------------------------