How to run multiple .BAT files within a .BAT file

前端 未结 17 1862
别跟我提以往
别跟我提以往 2020-11-22 13:59

I\'m trying to get my commit-build.bat to execute other .BAT files as part of our build process.

Content of commit-build.bat:



        
17条回答
  •  萌比男神i
    2020-11-22 14:28

    Start msbuild.bat
    Start unit-tests.bat
    Start deploy.bat
    

    If that doesn't work, replace start with call or try this:

    Start msbuild.bat
    Goto :1
    :1
    Start unit-tests.bat
    Goto :2
    :2
    Start deploy.bat
    

提交回复
热议问题