[Solved] How to execute a .bat file with java program? [closed]


bat files cannot be converted directly to jar files.

But you can implement bat file logic in a java application, using, for instance Apache Commons Exec and when it is compiled, package it as a jar file.

1

solved How to execute a .bat file with java program? [closed]