cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar

start jmp.exe, pass it a script and input variables all through the cmd line

start jmp.exe, pass it a script and input variables all through the cmd line

 

JMP does not have a nice direct cmd line input ability to where I could launch jmp.exe via a script.   The request is for JMP to have this ability.

 

Example concept: 

 

jmp.exe  -s:somescript.jsl  test=inputvariable1 inputPath=inputvariable2 matchPath=inputvariable3

 

where test, inputPath and matchPath are variables used inside the JMP script. 

 

------------ 

As is now, my workaround is via this cmdLineJmp.cmd script

 

 

rem test options:
rem 1=precision, 2=matching to baseline file 3=gauge precision 4= gauge matching
set test=%1
set inputPath=%2
set matchPath=%3

d:
cd D:\Data\JMP_Scripts
echo test=%test%; > scriptCmdInput.jsl
echo inputPath=%inputPath%; >> scriptCmdInput.jsl
echo matchPath=%matchPath%; >> scriptCmdInput.jsl
echo include("script-2_2.30.22_code.jsl", Names Default to Here(1)); >> scriptCmdInput.jsl
jmp.exe "scriptCmdInput.jsl"

 

 

1 Comment
Ryan_Gilmore
Community Manager
Status changed to: Archived
We are archiving this request. If this is still important please comment with additional details and we will reopen. Thank you!