scripting:api:wsh-text-stream:read

read

Method of IWshTextStream

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

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