scripting:api:wsh-text-stream:read-line

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

var Text = WshTextStream.ReadLine();

==== Visual Basic Script ====

Text = WshTextStream.ReadLine

==== C++ ====

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

===== See Also ===== IWshTextStream