PC Tools - Essential tools for your PC | United States & Canada
Search
 
 
Features
 
 
Newsletter
 
Scripting Home > > WScript Methods

Echo Method

Description

The Echo method to display information to the user through the console (CSCRIPT) or dialog boxes (WSCRIPT).

object.Echo [Arg1] [,Arg2] ... [,ArgX]

Example

'VBScript Example
WScript.Echo "Hello World!"
WScript.Echo "Hello" & " " & "World!"
WScript.Echo "Hello", "World!"

'JScript Example
WScript.Echo("Hello World!")
WScript.Echo("Hello" + " " + "World!")
WScript.Echo("Hello", "World!")
 
  Copyright © 1998-2009 PC Tools. All rights reserved. Privacy Policy | Legal Notice