Microsoft® Windows® Script Host Write Method |
WSH Reference Version 2 |
Writes a specified string to an output stream.
object.strStream.Write(strText)
Part Description object WScript object. strStream StdOut or StdErr property. strText The text you want to write 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.