Run .bat in Background

在.bat文件同级目录,新建一个.vbe,输入内容如下

1
2
set ws=wscript.createobject("wscript.shell")
ws.run "start.bat /start",0

其中 start.bat 为.bat文件的文件名

Comments

Copyright © 2015 Hging . Powered by Octopress | Theme fabric by Pankaj Kumar