Hi, I suspected for a long time a problem with the FileCopy function in AutoIT but finally found out that using the FileOpenDialog function leave a handle on the USB drive preventing the ejection. Is there any way around this issue ? I tried setting the FileOpenDialog variable to 0 or Null but i was not able to make it work. It seems that if you get FileOpenDialog to obtain a list of files on a USB device it will result in creating a handle that i am unable to find and remove... Any ideas ?