如何使用VisualBasicScript(.vbs)运行文件 [英] How to run a file using VisualBasicScript (.vbs)
本文介绍了如何使用VisualBasicScript(.vbs)运行文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用VisualBasicScript(.vbs)运行文件?
How can I run a file with VisualBasicScript (.vbs)?
该文件为'file.bat',它与.vbs位于同一目录中.
The file is 'file.bat' and it's located in the same dir as the .vbs.
推荐答案
是的,我要运行它.
yes i want to run it.
然后尝试一下:
CreateObject("WScript.Shell").Run "file.bat"
这篇关于如何使用VisualBasicScript(.vbs)运行文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文