Starting an external application

You can start an external application such as a batch file or a shell script by performing that task using the JavaScript LiveScript mechanism.

This sample illustrates how to run a batch file on a Windows system.
var runtime = java.lang.Runtime.getRuntime();
runtime.exec("C:\\RunMe.bat");