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

前端 未结 17 1930
别跟我提以往
别跟我提以往 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条回答
  •  佛祖请我去吃肉
    2020-11-22 14:09

    Use:

    call msbuild.bat
    call unit-tests.bat
    call deploy.bat
    

    When not using CALL, the current batch file stops and the called batch file starts executing. It's a peculiar behavior dating back to the early MS-DOS days.

提交回复
热议问题