how to run multiple batch files in serial, in windows command line environment

后端 未结 5 1530
南笙
南笙 2020-12-20 11:22

I have a batch file,

bat1.bat
bat2.bat

but it stops at the end of bat1

any clues?

5条回答
  •  北海茫月
    2020-12-20 12:00

    Something else to look for:

    I had a similar issue where I was calling multiple batch files using the call command but it did not pass back the control to the original .bat file.

    I found out that I had an exit command at the end of the batch file which closed the DOS window before going back to the original .bat file and finishing the commands there.

提交回复
热议问题