Windows script summary (continuous update)

1. Use the for loop of bat to execute the Java script 10 times, where cp means classpath, and import the jar package required by the class

for /L %n in (1,1,10) do java -cp ".;C:\Users\manyh\.m2\repository\ch\qos\logback\logbackclassic\
1.2.3\logback-classic-1.2.3.jar;C:\Users\manyh\.m2\repository\ch\qos\logback\logbackcore\
1.2.3\logback-core-1.2.3.jar;C:\Users\manyh\.m2\repository\org\slf4j\slf4japi\
1.7.25\slf4j-api-1.7.25.jar" cn.itcast.n4.exercise.ExerciseSell

Guess you like

Origin blog.csdn.net/Brave_heart4pzj/article/details/113717474