如何在VB中调用.bat文件 [英] how to call a .bat file in vb
本文介绍了如何在VB中调用.bat文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在vb 2008中调用bat文件
就像我在Server 2008的活动目录中创建了一个向用户添加文件的文件
那么我必须在cmd提示符下输入add(给.bat文件的名称),然后< space><用户名=">< space><用户last =" name =">< password>
how to call a bat file in vb 2008
like i created a file to add user in active directory in server 2008
then i have to go in cmd prompt and have to type add(name given to .bat file) and then <space><user name=""><space><user last="" name=""><password>
推荐答案
您可以使用Shell函数,请参见此MSDN文档 [
You can use the Shell function, see this MSDN documentation[^] on how to use it.
这篇关于如何在VB中调用.bat文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文