Why does only the first line of this Windows batch file execute but all three lines execute in a command shell?

前端 未结 6 716
伪装坚强ぢ
伪装坚强ぢ 2020-11-29 16:30

I have a batch file that executes three Maven commands, one after the other. Each command can be successfully executed in the script - by itself!. But when I add all three c

6条回答
  •  青春惊慌失措
    2020-11-29 17:01

    Dos commands in my batch file were running only when I type EXIT in command/DOS window. This problem solved when I removed CMD from batch file. No need of it.

提交回复
热议问题