<?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 CSV with JMP via batch script without opening new JMP window in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Open-CSV-with-JMP-via-batch-script-without-opening-new-JMP/m-p/12915#M12234</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The option you want is /shellopen &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;start jmp.exe /shellopen "C:\my data\csv_file.csv"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Jun 2015 16:56:26 GMT</pubDate>
    <dc:creator>jschroedl</dc:creator>
    <dc:date>2015-06-24T16:56:26Z</dc:date>
    <item>
      <title>Open CSV with JMP via batch script without opening new JMP window</title>
      <link>https://community.jmp.com/t5/Discussions/Open-CSV-with-JMP-via-batch-script-without-opening-new-JMP/m-p/12913#M12232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I figured out that I could force a CSV to open with JMP via a batch script with the following skeleton code:&lt;/P&gt;&lt;P&gt;START "" JMP.exe &amp;lt;CSV_FILE&amp;gt;&lt;/P&gt;&lt;P&gt;Where "" apparently is the magic parameter to force the CSV to open with JMP instead of its default program (Excel).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My question is, if JMP is already open (prior to running the batch script), is there a way for the batch script to force JMP to open the CSV into the JMP window that is already open and not into a new window/instance?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Not sure if the JMP.exe has command-line parameters that might be able to allow for this.&lt;/P&gt;&lt;P&gt;It is more of a nice-to-have as my script does what I need. It would make things a bit less cluttered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;JP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 03:07:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Open-CSV-with-JMP-via-batch-script-without-opening-new-JMP/m-p/12913#M12232</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-23T03:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: Open CSV with JMP via batch script without opening new JMP window</title>
      <link>https://community.jmp.com/t5/Discussions/Open-CSV-with-JMP-via-batch-script-without-opening-new-JMP/m-p/12914#M12233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found this under a Linux command-line option reference:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.jmp.com/support/notes/33/383.html" title="http://www.jmp.com/support/notes/33/383.html"&gt;33383 - JMP Linux command line options&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apparently passing "--singleton" as a command-line parameter prior to the filename allowed for files to open in the same JMP window.&lt;/P&gt;&lt;P&gt;i.e. JMP.exe --singleton &amp;lt;FILE_NAME&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Didn't seem to do the trick for me on Windows though...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 03:17:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Open-CSV-with-JMP-via-batch-script-without-opening-new-JMP/m-p/12914#M12233</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-23T03:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: Open CSV with JMP via batch script without opening new JMP window</title>
      <link>https://community.jmp.com/t5/Discussions/Open-CSV-with-JMP-via-batch-script-without-opening-new-JMP/m-p/12915#M12234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The option you want is /shellopen &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;start jmp.exe /shellopen "C:\my data\csv_file.csv"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2015 16:56:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Open-CSV-with-JMP-via-batch-script-without-opening-new-JMP/m-p/12915#M12234</guid>
      <dc:creator>jschroedl</dc:creator>
      <dc:date>2015-06-24T16:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: Open CSV with JMP via batch script without opening new JMP window</title>
      <link>https://community.jmp.com/t5/Discussions/Open-CSV-with-JMP-via-batch-script-without-opening-new-JMP/m-p/12916#M12235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"/shellopen" worked!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;JP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2015 17:02:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Open-CSV-with-JMP-via-batch-script-without-opening-new-JMP/m-p/12916#M12235</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-24T17:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: Open CSV with JMP via batch script without opening new JMP window</title>
      <link>https://community.jmp.com/t5/Discussions/Open-CSV-with-JMP-via-batch-script-without-opening-new-JMP/m-p/364588#M61417</link>
      <description>&lt;P&gt;I would like to open CSV files from file explorer in JMP using the same instance.&amp;nbsp; I have set the file association and the registry&lt;/P&gt;&lt;P&gt;Computer\HKEY_CLASSES_ROOT\JMP.App\Shell\Open\command value is&lt;/P&gt;&lt;P&gt;C:\Program Files\SAS\JMP\15\jmp.exe /shellopen "%1"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That is, it already includes the /shellopen&lt;/P&gt;&lt;P&gt;Yet, every CSV file I double-click in File Explorer opens a new instance of JMP&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 22:18:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Open-CSV-with-JMP-via-batch-script-without-opening-new-JMP/m-p/364588#M61417</guid>
      <dc:creator>JT383</dc:creator>
      <dc:date>2021-03-02T22:18:41Z</dc:date>
    </item>
  </channel>
</rss>

