cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.
  • JMP will suspend normal business operations for our Rest and Recharge Day on Friday, October 2, 2026.
    Regular business hours will resume on Monday, October 5, 2026.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar

Use jsl to execute cmd to open up a ESP file

Hi all, I'm trying to present my 3D model on my jmp dashboard. The esp file is opened by executing a command through cmd window and opens up in a browser. I can add a wed page in the dashboard, but is it possible to use jsl to call cmd window and execute a command? Thank you!

1 REPLY 1
vince_faller
Super User (Alumni)

Re: Use jsl to execute cmd to open up a ESP file

Check out run program in the scripting index (Coping JSL Example here)

 

RP = Run Program(
	Executable( "PING.EXE"/*path probably not needed*/ ),
	Options( {"-n 5", "localhost"} ),
	ReadFunction( Function( {this}, Write( this << read ) ) )
);

Some things might need you to actually call cmd but most shouldn't.  I'm just trying to write all outputs to my userprofile

 

Names default to here(1);
RP = Run Program(
	Executable( "cmd"),
	Options( {"\[/c "ping localhost > C:\users\my_user\ping_results.log 2>&1]\"} ), 
	ReadFunction( Function( {this}, Write( this << read ) ) )
);

 

I use this discovery presentation all the time when working with run program.  

 

 

Vince Faller - Predictum

Recommended Articles