Category: Goto

If you need to exit a program started from a batch file and use goto statements, do as below:


java -Xmn100M -Xms500M -Xmx500M -cp F:jarpathapr.jar;F:Appsliblog4j-1.2.13.jar;F:Appslibsqljdbc.jar; com.hyve.MarketDataAPIClient -c None -DBHost xxx -DBUsername xxx -DBPassword xxx

if errorlevel 1 goto RUNJAVA




How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.