如何使用VB6调用Windows shell命令? [英] How do I call a Windows shell command using VB6?
本文介绍了如何使用VB6调用Windows shell命令?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用VB6如何从命令行调用任何Windows shell命令?
How exactly using VB6 can I can call any Windows shell command as you would from the command-line?
例如,一些简单的例子:
For example, something as trivial as:
echo foo
推荐答案
这样做:
Shell "cmd echo foo", vbNormalFocus
这篇关于如何使用VB6调用Windows shell命令?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文