bat文件后台运行
需要在运行的bat文件内容前面加上
if “%1″==”hide” goto CmdBeginstart mshta vbscript:createobject(“wscript.shell”).run(“””%~0″” hide”,0)(window.close)&&exit:CmdBegin
声明:如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
bat文件后台运行
需要在运行的bat文件内容前面加上
if “%1″==”hide” goto CmdBeginstart mshta vbscript:createobject(“wscript.shell”).run(“””%~0″” hide”,0)(window.close)&&exit:CmdBegin