[au3]#include <file.au3>
Dim $aRecords
If Not _FileReadToArray("partinfo.txt",$aRecords) Then
MsgBox(4096,"Error", " Error reading log to Array error:" & @error)
Exit
EndIf
For $x = 2 to $aRecords[0]
if $aRecords[$x]="Drive No. Active VolumeLabe Total (Mb) Free (Mb)" Then
$a=FileRead("d:\a.txt")
;MsgBox(0,0,$a)
$b=StringRegExp($a,'[A-Z]:\s+\d:\d',3)
For $i=0 to UBound($b)
;MsgBox(0,'test',$b[$i])
MsgBox(0,'test',StringRegExpReplace($b[$i],'\s+','='))
Next