I am creating a batch file from Java which is deployed in a Linux machine and moved from Linux to Windows using Samba.
We want the batch file to be triggered from Java. Can you please highlight some steps?
I cannot use below command as it will use Linux run time:
Runtime.getRuntime().exec("cmd /c start buildFile.bat");
Any suggestions?