Microsoft® Windows® Script Host ReadLine Method |
WSH Reference Version 2 |
Reads an entire line (up to, but not including, the newline character) from an input stream and returns the resulting string.
object.strStream.ReadLine
Part Description object WScript object. strStream StdIn property.
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.