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);

==== Visual Basic Script ====

Text = WshTextStream.read Characters

==== C++ ====

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

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