Microsoft® Windows® Script Host WriteLine Method |
WSH Reference Version 2 |
Writes a specified string and newline character to an output stream.
object.strStream.WriteLine([strText])
Part Description object WScript object. strStream StdOut or StdErr property. strText Optional. The text you want to write to the stream. If omitted, a newline character is written to the stream.
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.