Method of IWshTextStream
Reads an entire TextStream file and returns the resulting string
var Text = WshTextStream.ReadAll();
==== Visual Basic Script ====
Text = WshTextStream.ReadAll
==== C++ ====
BSTR Text; HRESULT hr = WshTextStream.ReadAll(&Text);
===== See Also ===== IWshTextStream