vbscript输出到控制台 [英] vbscript output to console
本文介绍了vbscript输出到控制台的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
使用vbscript将结果输出到控制台的命令或最快的方法是什么?
What is the command or the quickest way to output results to console using vbscript?
推荐答案
>
You mean:
Wscript.Echo "Like this?"
如果在 wscript.exe
(.vbs扩展的默认处理程序,所以如果你双击该脚本你会得到什么),你会得到一个MessageBox对话框,其中包含你的文本。如果你在 cscript.exe
下运行,你将在控制台窗口中输出。
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.
这篇关于vbscript输出到控制台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文