read

Method of IWshTextStream

Reads a specified number of characters from a TextStream file and returns the resulting string

Return Value

JavaScript

var Text = WshTextStream.read(Characters);

Visual Basic Script

Text = WshTextStream.read Characters

C++

BSTR Text;
HRESULT hr = WshTextStream.read(Characters, &Text);