Jump to content

let's see who is good in autoit


 Share

Recommended Posts

hi, my question is

how to safely remove a removable USB device?

i mean that i want to disconnect a usb device connected to my pc.

anybody please help me out!

Edited by zFrank
[font="Georgia"]GSM Expert[/font] but not AutoIt :DProud to be Admin Of : http://www.gsmhosting.net/visit my Forum... http://www.gsmhosting.net/vbb/index.php
$Life = "Happy"
If @Error Then
$Life = "Risk"
Link to comment
Share on other sites

Here a link to some code to perform a safe removal of a usb device. Unfortunately it's not somethin I can translate into AutoIt, but maybe another smart person can, will?

http://support.microsoft.com/kb/q165721

Edited by spudw2k
Link to comment
Share on other sites

Interesting. I'd expect this method to actually remove the device, like how the safely remove icon does. I end up with an ejected drive instead. That works just as good since the device cannot be written to when it's ejected. I figured it would remove it though. Oh well.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...