我正在嘗試從JSL執行.bat文件,但無法按預期工作。
我想念什麼?
https://www.jmp.com/support/help/zh-cn/15.1/#page/jmp/run-external-programs.shtml
rp = RunProgram( Executable( "cmd.exe" ),
Options( {"C:\temp\myfile.bat"} ),
ReadFunction("text") // returns all text
);
//"Microsoft Windows [Version xxx]
//(c) 2018 Microsoft Corporation. All rights reserved.
//
// C:\Program Files\SAS\JMPPRO\15>"您缺少1個參數
rp = RunProgram( Executable( "cmd.exe" ),
Options( {"/C", "C:\temp\myfile.bat"} ),
ReadFunction("text") // returns all text
);