Can someone translate this code to AutoIt for me? I'm not sure what is happening here, so I can't translate this correctly. Any assistance would be greatly appreciated! Source: http://home.hot.rr.com/graye/Articles/USB_SerialNumbers.htm Public Function GetSerialNumber(ByVal DriveLetter As String) As String
Dim wmi_ld, wmi_dp, wmi_dd As ManagementObject
Dim temp, parts(), ans As String
ans = ""
' get the Logical Disk for that drive letter
wmi_ld = New ManagementObject("Win32_Lo