Echo text to the screen (Stdout)
Syntax WScript.StdOut.Write("text string to display") WScript.StdOut.Write(strMyTextVariable)
Example
Set objStdOut = WScript.StdOut
objStdOut.Write "User: "
objStdOut.Write "Joe Smith" objStdOut.WriteBlankLines(1) objStdOut.Write "Procurement Dept"
Unlike the Wscript.Echo command, Stdout.Write allows you to write multiple separate items to the same line, use .WriteBlankLines(n) to add newlines.
“A truth that's told with bad intent, Beats all the lies you can invent” - William Blake
Related:
.Echo
Echo, popup - .Popup
MsgBox - Display a dialogue box message
Equivalent Windows CMD command: ECHO - Display message on screen
Equivalent PowerShell cmdlet: Write-Host