windows batch runs in background

2019-01-29  本文已影响0人  tyoko

add some codes in the before of your codes

@echo off 
  if "%1" == "h" goto begin 
  mshta vbscript:createobject("wscript.shell").run("%~nx0 h",0)(window.close)&&exit 
  :begin 
  :: your codes

link

上一篇 下一篇

猜你喜欢

热点阅读