How to use the start command in a batch file?

前端 未结 2 1281
独厮守ぢ
独厮守ぢ 2020-12-09 09:06

I have a batch file that starts an app with a lot of command-line parameters:

\"C:\\Program Files (x86)\\Common Files\\Microsoft Shared\\DevServer\\11.0\\Web         


        
2条回答
  •  不知归路
    2020-12-09 09:31

    I think this other Stack Overflow answer would solve your problem: How do I run a bat file in the background from another bat file?

    Basically, you use the /B and /C options:

    START /B CMD /C CALL "foo.bat" [args [...]] >NUL 2>&1
    

提交回复
热议问题