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

前端 未结 17 1947
别跟我提以往
别跟我提以往 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:19

    Just use the call command! Here is an example:

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

提交回复
热议问题