FileBlob = WScript.StdIn.ReadAll Lines = Split(FileBlob, Chr(10)) For A = UBound(Lines) To LBound(Lines) Step -1 If Len(Lines(A)) > 0 Then WScript.Echo Lines(A) Next