Open "C:\Users\" & myUser & "\Documents\AHK\Batch_Manipulator\WarningBatchReport.txt" For Output As #2 ' Open file for output.
Write #2, "Warning3789", "Position: " & (PosVar), "Contract: " & (LessorVar) & "-" & (ContractVar) & "-" & (Contract2Var), "Trans Number: " & (TransVar); "/n" ' Write comma-delimited data.
Write #2, ' Write blank line.
Close #2