Code: Select all
Run, UsbTreeView.exe /R=report.txt
Loop, Read, report.txt
; Search for the line that is 13 lines after the line containing mountpoint "X:\",
; then search for the Needle.
If InStr(A_LoopReadLine, "0x03 (SuperSpeed)")
MsgBox, 64, , "X:\ is not running slowly."