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
lala
Level IX

How does this CMD command run with JSL?

CMD

reg export "HKEY_USERS\S-1-5-21-664984301-3062014895-3146206184-500\SOFTWARE\SAS Institute Inc.\JMP\Recent\Files" c:\1\abc.reg /y

2024-07-04_13-38-50.png

run program(executable("cmd.exe"),options({"reg export \!"HKEY_USERS\S-1-5-21-664984301-3062014895-3146206184-500\SOFTWARE\SAS Institute Inc.\JMP\Recent\Files\!" \!"c:\1\abc2.reg\!""}));//??

 

This code works in CMD.But how to write JSL

Thanks!
Like this JSL is executable

run program(executable("cmd.exe"),options({"/c Taskkill /im EXCEL.exe /f /t"}));
1 ACCEPTED SOLUTION

Accepted Solutions
lala
Level IX

Re: How does this CMD command run with JSL?

  • It's a parameter issue, not a quotation mark issue.

2024-07-05_08-42-59.png

View solution in original post

5 REPLIES 5
jthi
Super User

Re: How does this CMD command run with JSL?

I think you can get a good idea how to extract those registry values if you check the code for FileSnapper 

-Jarmo
lala
Level IX

Re: How does this CMD command run with JSL?

Thanks!

 

  • I am in need of how to execute this CMD command in JSL just fine.

lala
Level IX

Re: How does this CMD command run with JSL?

OK、into a BAT

2024-07-04_14-36-33.png

jthi
Super User

Re: How does this CMD command run with JSL?

Most likely you have issues with the quotes, you might be able to change " to ' or something more fun like Pass quote into Run Program application 

-Jarmo
lala
Level IX

Re: How does this CMD command run with JSL?

  • It's a parameter issue, not a quotation mark issue.

2024-07-05_08-42-59.png

Recommended Articles