cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

Solve problems, and share tips and tricks with other JMP users.
%3CLINGO-SUB%20id%3D%22lingo-sub-107534%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E3%83%90%E3%83%83%E3%83%81%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%97%E3%83%88%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%82%92%E9%96%8B%E3%81%8F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-107534%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E7%A7%81%E3%81%AFJMP%E3%81%A7%E7%A0%94%E7%A9%B6%E3%81%97%E3%81%A6%E3%81%84%E3%82%8B%E3%83%86%E3%82%AD%E3%82%B9%E3%83%88%E3%83%87%E3%83%BC%E3%82%BF%E3%83%86%E3%83%BC%E3%83%96%E3%83%AB%E3%82%92%E7%94%9F%E6%88%90%E3%81%99%E3%82%8BLinux%E3%82%A2%E3%83%97%E3%83%AA%E3%82%B1%E3%83%BC%E3%82%B7%E3%83%A7%E3%83%B3%E3%82%92%E6%8C%81%E3%81%A3%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%E3%80%82%26nbsp%3B%20%E3%83%9B%E3%83%83%E3%83%88%E3%82%AD%E3%83%BC%E3%82%92%E4%BD%BF%E3%81%A3%E3%81%A6JMP%E3%81%A7%E3%81%93%E3%82%8C%E3%82%89%E3%81%AE%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%82%92%E9%96%8B%E3%81%8F%E3%81%93%E3%81%A8%E3%81%8C%E3%81%A7%E3%81%8D%E3%82%8B%E3%82%88%E3%81%86%E3%81%AB%E3%81%97%E3%81%9F%E3%81%84%E3%81%A7%E3%81%99%E3%80%82%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E5%90%8D%E3%82%92%E6%A8%99%E6%BA%96%E3%81%AE%E5%A0%B4%E6%89%80%E3%81%AB%E6%9B%B8%E3%81%8D%E8%BE%BC%E3%81%BF%E3%80%81%E6%AC%A1%E3%81%AB%E3%83%90%E3%83%83%E3%83%81%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%97%E3%83%88%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%E7%8F%BE%E5%9C%A8%E5%AE%9F%E8%A1%8C%E4%B8%AD%E3%81%AEJMP%E3%81%A7%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%82%92%E9%96%8B%E3%81%8F%E3%81%93%E3%81%A8%E3%82%92%E8%80%83%E3%81%88%E3%81%A6%E3%81%84%E3%81%BE%E3%81%97%E3%81%9F%E3%80%82%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%E7%A7%81%E3%81%AF%E3%81%93%E3%82%8C%E3%81%A7%E3%83%90%E3%83%83%E3%83%81%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%82%92%E8%A9%A6%E3%81%97%E3%81%A6%E3%81%BF%E3%81%BE%E3%81%97%E3%81%9F%EF%BC%9A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFOR%20%2F%20F%20%22tokens%20%3D%20*%22%20%25%25%20I%20IN%EF%BC%88%5C%5C%20server%20%5C%20path%20%5C%20to%20%5C%20file%20%5C%20with%20%5C%20path%20%5C%20to%20%5C%20text%20%5C%20file%20%5C%20to%20%5C%20open%EF%BC%89DO%20%40%20%22C%EF%BC%9A%5C%20Program%20Files%20%5C%20SAS%20%5C%20JMP%20%5C%2012%20%5C%20jmp.exe%20%22%25%25%20I%3C%2FP%3E%3CP%3E%E4%B8%80%E6%99%82%E5%81%9C%E6%AD%A2%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E...%20%E3%81%97%E3%81%8B%E3%81%97%E3%80%81%E3%83%90%E3%83%83%E3%83%81%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%97%E3%83%88%E3%81%AFJMP%E3%81%AE%E6%96%B0%E3%81%97%E3%81%84%E3%82%A4%E3%83%B3%E3%82%B9%E3%82%BF%E3%83%B3%E3%82%B9%E3%82%92%E8%B5%B7%E5%8B%95%E3%81%97%E3%81%BE%E3%81%99%E3%80%82%26nbsp%3B%20%E7%8F%BE%E5%9C%A8%E5%AE%9F%E8%A1%8C%E4%B8%AD%E3%81%AEJMP%E3%82%A2%E3%83%97%E3%83%AA%E3%82%B1%E3%83%BC%E3%82%B7%E3%83%A7%E3%83%B3%E3%81%A7%E3%83%86%E3%82%AD%E3%82%B9%E3%83%88%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%82%92%E9%96%8B%E3%81%8F%E6%96%B9%E6%B3%95%E3%81%AF%E3%81%82%E3%82%8A%E3%81%BE%E3%81%99%E3%81%8B%EF%BC%9F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-107538%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%E5%86%8D%EF%BC%9A%E3%83%90%E3%83%83%E3%83%81%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%97%E3%83%88%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%82%92%E9%96%8B%E3%81%8F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-107538%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%E7%AD%94%E3%81%88%E3%82%92%E8%A6%8B%E3%81%A4%E3%81%91%E3%81%9F%EF%BC%9Ajmp.exe%E3%81%A8%25%25%20I%E3%81%AE%E9%96%93%E3%81%AB%20%22%2F%20shellopen%22%E3%82%92%E8%BF%BD%E5%8A%A0%E3%81%99%E3%82%8B%E3%80%82%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%E3%81%93%E3%82%8C%E3%81%8C%E8%AA%B0%E3%81%8B%E3%81%AB%E5%BD%B9%E7%AB%8B%E3%81%A4%E3%81%93%E3%81%A8%E3%82%92%E9%A1%98%E3%81%A3%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E
Choose Language Hide Translation Bar
BHarris
Level VII

Open file using batch script

I have a linux application that generates text data tables that we study with JMP.  I'd like to be able to open these files in JMP with a hotkey.

 

I was thinking of writing the filename to a standard location, then using a batch script to open the file in the currently-running JMP.

 

I've tried a batch file with this:

 

FOR /F "tokens=*" %%I IN (\\server\path\to\file\with\path\to\text\file\to\open) DO @"C:\Program Files\SAS\JMP\12\jmp.exe" %%I

pause

 

... but the batch script launches a new instance of JMP.  Is there a way to open the text file in the currently-running JMP application?

1 ACCEPTED SOLUTION

Accepted Solutions
BHarris
Level VII

Re: Open file using batch script

Found the answer:  add "/shellopen" between the jmp.exe and the %%I.

 

Hope this helps someone.

View solution in original post

1 REPLY 1
BHarris
Level VII

Re: Open file using batch script

Found the answer:  add "/shellopen" between the jmp.exe and the %%I.

 

Hope this helps someone.

Recommended Articles