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%C3%96ffnen%20Sie%20die%20Datei%20mit%20einem%20Batch-Skript%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-107534%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EIch%20habe%20eine%20Linux-Anwendung%2C%20die%20Textdatentabellen%20generiert%2C%20die%20wir%20mit%20JMP%20studieren.Ich%20m%C3%B6chte%20diese%20Dateien%20in%20JMP%20mit%20einem%20Hotkey%20%C3%B6ffnen%20k%C3%B6nnen.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIch%20dachte%20daran%2C%20den%20Dateinamen%20an%20einen%20Standardspeicherort%20zu%20schreiben%20und%20dann%20ein%20Batch-Skript%20zu%20verwenden%2C%20um%20die%20Datei%20im%20aktuell%20ausgef%C3%BChrten%20JMP%20zu%20%C3%B6ffnen.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIch%20habe%20es%20mit%20einer%20Batch-Datei%20versucht%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFOR%20%2FF%20%22tokens%3D*%22%20%25%25I%20IN%20(%5C%5Cserver%5Cpath%5Cto%5Cfile%5Cwith%5Cpath%5Cto%5Ctext%5Cfile%5Cto%5Copen)%20DO%20%40%22C%3A%5CProgram%20Files%5CSAS%5CJMP%5C%2012%5Cjmp.exe%22%20%25%25I%3C%2FP%3E%3CP%3EPause%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E...%20aber%20das%20Stapelskript%20startet%20eine%20neue%20Instanz%20von%20JMP.Gibt%20es%20eine%20M%C3%B6glichkeit%2C%20die%20Textdatei%20in%20der%20aktuell%20ausgef%C3%BChrten%20JMP-Anwendung%20zu%20%C3%B6ffnen%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-107538%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3EBetreff%3A%20Datei%20mit%20Batch-Script%20%C3%B6ffnen%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-107538%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3EAntwort%20gefunden%3A%20F%C3%BCgen%20Sie%20%22%2Fshellopen%22%20zwischen%20jmp.exe%20und%20%25%25I%20hinzu.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHoffe%2C%20das%20hilft%20jemandem.%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