Java application invoking BAT script
With Java2, new API for process managment has been introduced. The example show how BAT file can be invoked from Java application and output intercepted.
Aaa.java
aaa.bat