系统杂类------让bat,cmd文件后台运行
2014-08-03 10:30
330 查看
1.写个bat,例如1.bat
net start "IAStorDataMgrSvc"
pause
2.新建run.vbs脚本
Set shell = Wscript.createobject("wscript.shell")
a = shell.run ("1.bat",0)
3.运行脚本即可
net start "IAStorDataMgrSvc"
pause
2.新建run.vbs脚本
Set shell = Wscript.createobject("wscript.shell")
a = shell.run ("1.bat",0)
3.运行脚本即可
相关文章推荐
- window系统下运行.bat(.cmd)文件一闪而过
- 【VBscript Shell】通过vbs文件调用bat文件达到隐藏cmd窗口后台运行的效果
- 如何让bat,cmd文件后台运行?如何把文件打包成EXE?
- BAT批处理文件的msdos窗口如何后台运行不弹出窗口
- .bat文件运行后,cmd窗口退出问题
- bat文件运行后 cmd窗口不关闭的三种方式总结
- 不在系统变量中设定path/classpath,运行任意路径下的class文件(通过.bat文件)
- vbs 批量修改文件,bat 批处理文件调用执行vbs,并在cmd窗口打印返回值(vbs运行结果)
- 不让bat文件运行命令结束后cmd窗口自动关闭
- 不让bat文件运行命令结束后cmd窗口自动关闭
- 用bat文件运行cmd的方法
- 让cmd或bat文件运行完后停在运行界面
- CMD命令:开始->运行->键入cmd或command(在命令行里可以看到系统版本、文件系统版本)
- 怎么设置 运行bat 文件不弹出CMD窗口
- 使用.bat文件自动向cmd输入命令(双击运行,烧写系统)
- 双击 bat 直接运行 cmd 内容: 例打开 ipynb 文件
- jeesite安装 运行init-db.bat 系统找不到指定文件
- 让cmd或bat文件运行完后停在运行界面
- BAT文件使程序具有以系统权限运行的效果
- BAT批处理文件的后台运行不弹出窗口