Property:  WScript.StdOut

WScript.StdOut

The StdOut property returns a write-only TextStream object that outputs text to the Standard Output stream. This property is read only and can only be used when cscript is the host executable. If you attempt to use this property when running a script under wscript, an "Invalid handle" error will be generated.

The following JScript code illustrates the use of this property.

Code:
WScript.StdOut.Write("Hello World")

Output:
Hello World

Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information