vbscript output to console

前端 未结 6 756
春和景丽
春和景丽 2020-12-07 11:16

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

6条回答
  •  旧巷少年郎
    2020-12-07 11:25

    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.

提交回复
热议问题