I'm trying to run more than two main method with a script so I can process them in the same time.
@echo off
javac step_0.java
javac step_1.java
javac step_2.java
javac step_3.java
javac step_4_1.java
javac step_4_2.java
javac step_5.java
javac energyConsumption.java
java step_0 && java step_1 && java step_2 && java step_3 && java step_4_1 && java step_4_2 && java step_5 && java energyConsumption
pause
This script start with step_0 and need to finish the task to start the step_1...I need them to start at the same time. Thanks