I currently have a script ejecting USB drives in public computers by calling a third party software. Being the purist I am, I would rather have a script that doesn't need to call other software to do the work. I don't see any DriveEject or similar command. Am I missing something? How would this be done purely in AutoIt? My code (for the curious):
#include <AutoItConstants.au3>
Local $aArray = DriveGetDrive($DT_REMOVABLE)
If @error Then
; An error occu