ReadLine

Method of IWshTextStream

Reads an entire line (up to, but not including, the newline character) from a TextStream file and returns the resulting string

Return Value

JavaScript

var Text = WshTextStream.ReadLine();

Visual Basic Script

Text = WshTextStream.ReadLine

C++

BSTR Text;
HRESULT hr = WshTextStream.ReadLine(&Text);