Home NT WSH
StdOut.Write

Echo lines of text to the screen (Stdout)

Syntax 
      WScript.StdOut.Write("text string to display")

      WScript.StdOut.Write(strMyTextVariable)

Examples

WScript.StdOut.Write("Enter the price...")

MsgBox Function
You can also achieve similar functionality with 
the VBScript function Msgbox()

   MsgBox(prompt[, buttons][, title][, helpfile, context])

This displays a message in a dialog box, waits for the user to 
click a button, and returns a value indicating which button the user clicked.

"A truth that's told with bad intent
Beats all the lies you can invent" - William Blake

Related commands:

Echo - Wscript.Echo
Echo, popup - WshShell.Popup

Equivalent Windows NT command:

ECHO - Display message on screen



Back to the Top

Simon Sheppard
SS64.com