Executing a file with .bat Extension

0
Is there a way to execute a .bat file in Mendix, using a microflow or Java action call ? I want to run a Windows Batch file on click of a button. Thanks in advance.
asked
1 answers
1

You cannot run batch scripts in the Mendix cloud. If you're running Mendix locally (or on an environment you control), you can use Java to run a batch script:

Runtime.getRuntime().exec("cmd /c start build.bat");

 

StackOverflow question for reference

 

answered