.bat 打开程序

为什么要用.bat打开程序。

因为一个一个难得点

怎么做

百度的,start 程序路径程序

改进

  • 点击bat,不显示dos窗口。
    新建.vbs文件
    Set shell = Wscript.createobject("wscript.shell")
    a = shell.run (".bat路径.bat",0)

  • 先判断相应的进程,是否存在,不存在在打开(2016年7月16日)
    ::打开Firefox;
    tasklist | find /i "firefox.exe"s
    if %ERRORLEVEL% EQU 1 start 程序路径程序

原文地址:https://www.cnblogs.com/wangbiwei/p/5675059.html