EsspeN
09-08-2003, 03:40 AM
What I try to do is to get WINDOWS to unplug/unmount a removeable drive like a flashmemory card reader. I have tried several other ways before, but now I think I could do it by using the
rundll32.exe shell32.dll,Control_RunDLL hdwwiz.cpl (add remove hardware in windows)
Oki, if I send a couple of keystrokes to that wizard IT will do what I want to, but there must be another way?
Is there any way to "check" where I am in the wizard when i use sendkeys? Lets say this device isnt plugged, and It search for it by using sendkeys, it will stop another device...
Please help or give me directions about how I can unplug a removeable drive! THNX A LOT!
Have a great day!
ps! Is there anyway to go directly to the EJECT / UNPLUG HARDWARE window, and not send those NEXT , NEXT with keystroke?
rundll32.exe shell32.dll,Control_RunDLL hdwwiz.cpl (add remove hardware in windows)
Oki, if I send a couple of keystrokes to that wizard IT will do what I want to, but there must be another way?
Is there any way to "check" where I am in the wizard when i use sendkeys? Lets say this device isnt plugged, and It search for it by using sendkeys, it will stop another device...
Please help or give me directions about how I can unplug a removeable drive! THNX A LOT!
Have a great day!
ps! Is there anyway to go directly to the EJECT / UNPLUG HARDWARE window, and not send those NEXT , NEXT with keystroke?