Method:  WScript.Echo

WScript.Echo objObject

The Echo method concatenates its arguments into a space-separated string and displays this string in a Dialog Box (if invoked under wscript), or on the standard output stream (if invoked under cscript). Under cscript, a newline character is appended to the output. This method has no effect if the WScript.Interactive property is False.

The use of this method is demonstrated in the following JScript code.

Code:
WScript.Echo("Hello", "world")

Output:
Hello world

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