vbscript output to console

console, output, vbscript, windows

Solution

You mean:

WScript.Echo "Like this?"

If you run that under `wscript.exe` (the default handler for the .vbs extension, so what you'll get if you double-click the script) you'll get a "MessageBox" dialog with your text in it. If you run that under `cscript.exe` you'll get output in your console window.

Problem

What is the command or the quickest way to output results to console using vbscript?

Original source

Related problems