Vbscript Split or regex command to pull the task name and lastresult from text file : TaskName=YY_EF LastRunTime="3/14/2016 10:30:00 PM" LastResult=1 TaskCommand="C:\Windows\scripts\Tasks\FC_CREATE" TaskState=Enabled StartTime="10:30:00 PM" RunTime="00:15:00" Days="Every 1 day(s)" 