windows7系统如何实现用批处理启动两个程序并隐藏dos窗口?

2025-04-25 19:05:56
推荐回答(1个)
回答1:

把下面的代码加到批处理前面,就可以实现隐藏运行。
@echo off
if "%1" == "h" goto begin
mshta vbscript:createobject("wscript.shell").run("%~fs0 h",0)(window.close)&&exit
:begin
rem 下边开始是批处代码了。