<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Open file using batch script in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Open-file-using-batch-script/m-p/107538#M39165</link>
    <description>&lt;P&gt;Found the answer:&amp;nbsp; add "/shellopen" between the jmp.exe and the %%I.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps someone.&lt;/P&gt;</description>
    <pubDate>Tue, 22 Jan 2019 19:05:54 GMT</pubDate>
    <dc:creator>BHarris</dc:creator>
    <dc:date>2019-01-22T19:05:54Z</dc:date>
    <item>
      <title>Open file using batch script</title>
      <link>https://community.jmp.com/t5/Discussions/Open-file-using-batch-script/m-p/107534#M39162</link>
      <description>&lt;P&gt;I have a linux application that generates text data tables that&amp;nbsp;we study with JMP.&amp;nbsp; I'd like to be able to open these files in JMP with a hotkey.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried a batch file with this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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&lt;/P&gt;&lt;P&gt;pause&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;... but the batch script&amp;nbsp;launches a new instance of JMP.&amp;nbsp; Is there a way to open the text file in the currently-running JMP application?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2019 18:49:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Open-file-using-batch-script/m-p/107534#M39162</guid>
      <dc:creator>BHarris</dc:creator>
      <dc:date>2019-01-22T18:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: Open file using batch script</title>
      <link>https://community.jmp.com/t5/Discussions/Open-file-using-batch-script/m-p/107538#M39165</link>
      <description>&lt;P&gt;Found the answer:&amp;nbsp; add "/shellopen" between the jmp.exe and the %%I.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps someone.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2019 19:05:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Open-file-using-batch-script/m-p/107538#M39165</guid>
      <dc:creator>BHarris</dc:creator>
      <dc:date>2019-01-22T19:05:54Z</dc:date>
    </item>
  </channel>
</rss>

