Create .exe program, and let .bat execute it.
Example. Compile or run this script. When compiling, LA creates C:\Test\LA\cmd1\cmd1.exe.
.bat:
Example. Compile or run this script. When compiling, LA creates C:\Test\LA\cmd1\cmd1.exe.
// script "cmd1.cs"
/*/ role exeProgram; outputPath C:\Test\LA\cmd1; /*/
if (script.testing) args = [@"C:\Test\test.txt"];
var file = args[0];
dialog.show(file, File.ReadAllText(file));.bat:

Call a LA function from a .batfro