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

Applies To


Description
Reads an entire line (up to, but not including, the newline character) from an input stream and returns the resulting string.
Syntax
object.strStream.ReadLine
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.