让bat批处理后台运行,不显示cmd窗口

在你写的批处理文件,开头加上如下三行代码便可shell if "%1"=="hide" goto CmdBegin start mshta vbscript:createobject("wscript.shell").run("""%~0"" hide",0)(window.close)&&exit :CmdBegin ————————————————ide 或者ip %1 mshta vbscr
相关文章
相关标签/搜索