I'm developing an angular-android application, so I have to run some commands in the cmd. My system has minimal specifications since the commands take some time to run, I have to keep on monitoring it. To reduce the time and concentrate on my other things I put some command in the batch file. For example
ng build
cordova clean browser
cordova build browser
cordova run browser
I put the above commands and save it as a batch file. When I run this file it only executes first command ng build
, it doesn't automatically jump to second line. Previously I used mac, in that I save these as .sh
file and when I execute them, all the command inside that executed successfully. What should I do to execute next commands automatically in the batch file? Thank you.