Microsoft® Windows® Script Host
ReadAll Method
WSH Reference
Version 2

Applies To


Description
Reads an entire input stream and returns the resulting string.
Syntax
object.strStream.ReadAll
Parameters
Part Description
object WScript object.
strStream StdIn property.
Remarks
The StdIn, StdOut and StdErr properties and methods will only work when running the script with CScript.exe. An "Invalid Handle" error will be returned when run with WScript.exe.