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

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

    To call a .bat file within a .bat file, use

    call foo.bat
    

    (Yes, this is silly, it would make more sense if you could call it with foo.bat, like you could from the command prompt, but the correct way is to use call.)

提交回复
热议问题