<?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: how to get file names or file path in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/how-to-get-file-names-or-file-path/m-p/602668#M80600</link>
    <description>&lt;P&gt;I think this is what you really want&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;file1 = pick file();
file_name = Word( -1, file1, "/" );
suff = word(-1, file_name, ".")
if(suff == "txt" | stuff == “csv”,&amp;nbsp;
	open(file1); 
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 17 Feb 2023 15:30:30 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2023-02-17T15:30:30Z</dc:date>
    <item>
      <title>how to get file names or file path</title>
      <link>https://community.jmp.com/t5/Discussions/how-to-get-file-names-or-file-path/m-p/602491#M80586</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;file1 = pick file();
file_name = ...
suff = word(-1, file_name, ".")
if(suff == "txt" | file_name == “csv”,&amp;nbsp;
	open(file1), ....
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;how can i get file_name when I pick up a file?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 16:35:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-to-get-file-names-or-file-path/m-p/602491#M80586</guid>
      <dc:creator>Rock123</dc:creator>
      <dc:date>2023-06-08T16:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to get file names or file path</title>
      <link>https://community.jmp.com/t5/Discussions/how-to-get-file-names-or-file-path/m-p/602497#M80587</link>
      <description>&lt;P&gt;Variable "file1" contains the path.&lt;/P&gt;
&lt;P&gt;The filename can easily be extracted with&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;file_name = Word( -1, file1, "/" );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2023 10:27:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-to-get-file-names-or-file-path/m-p/602497#M80587</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2023-02-17T10:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to get file names or file path</title>
      <link>https://community.jmp.com/t5/Discussions/how-to-get-file-names-or-file-path/m-p/602575#M80593</link>
      <description>&lt;P&gt;I am feeling so exited to have your reply!&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2023 13:30:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-to-get-file-names-or-file-path/m-p/602575#M80593</guid>
      <dc:creator>Rock123</dc:creator>
      <dc:date>2023-02-17T13:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: how to get file names or file path</title>
      <link>https://community.jmp.com/t5/Discussions/how-to-get-file-names-or-file-path/m-p/602595#M80595</link>
      <description>&lt;P&gt;If I like to get the path of file1, what shall I do?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2023 14:26:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-to-get-file-names-or-file-path/m-p/602595#M80595</guid>
      <dc:creator>Rock123</dc:creator>
      <dc:date>2023-02-17T14:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: how to get file names or file path</title>
      <link>https://community.jmp.com/t5/Discussions/how-to-get-file-names-or-file-path/m-p/602668#M80600</link>
      <description>&lt;P&gt;I think this is what you really want&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;file1 = pick file();
file_name = Word( -1, file1, "/" );
suff = word(-1, file_name, ".")
if(suff == "txt" | stuff == “csv”,&amp;nbsp;
	open(file1); 
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 17 Feb 2023 15:30:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-to-get-file-names-or-file-path/m-p/602668#M80600</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2023-02-17T15:30:30Z</dc:date>
    </item>
  </channel>
</rss>

