<?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: Saving files to created folder in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Saving-files-to-created-folder/m-p/35975#M21194</link>
    <description>&lt;P&gt;Thanks much, Jim! Have added a &lt;FONT color="#0000FF"&gt;slash&lt;/FONT&gt; to your suggestion and it worked. Appreciate the help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;OUTPUT = (dirpath&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;||&lt;/STRONG&gt;&lt;/FONT&gt;substitute(MDYHMs(Today()), "/", "-", ":", ".")&lt;FONT color="#0000FF"&gt;||&lt;STRONG&gt;"/"&lt;/STRONG&gt;&lt;/FONT&gt;);&lt;/P&gt;</description>
    <pubDate>Fri, 17 Feb 2017 01:44:31 GMT</pubDate>
    <dc:creator>Nalla</dc:creator>
    <dc:date>2017-02-17T01:44:31Z</dc:date>
    <item>
      <title>Saving files to created folder</title>
      <link>https://community.jmp.com/t5/Discussions/Saving-files-to-created-folder/m-p/35963#M21187</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would like to save a table to a folder created with jsl (Line #7). I have created a variable for it so that I can use it when indicating the directory I want to save my table(Line #27). However, after running the script, the variable("output") does not return the dir path but just the value "1". Thus, I could not save to my intended directory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I missing someting here?&amp;nbsp;Would appreciate any help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 818px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/5218i67CDDBFD11566CC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2017 00:03:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Saving-files-to-created-folder/m-p/35963#M21187</guid>
      <dc:creator>Nalla</dc:creator>
      <dc:date>2017-02-17T00:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: Saving files to created folder</title>
      <link>https://community.jmp.com/t5/Discussions/Saving-files-to-created-folder/m-p/35973#M21192</link>
      <description>&lt;P&gt;Your variable "output" returns the success or failure of the "Create Directory" function, 1 or 0.&amp;nbsp; If you want it to have the directory path as it value, use the following after creating the directory:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;OUTPUT = dirpath""substitute(MDYHMS(Today()), "/", "-", ":", "."));&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2017 01:16:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Saving-files-to-created-folder/m-p/35973#M21192</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2017-02-17T01:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: Saving files to created folder</title>
      <link>https://community.jmp.com/t5/Discussions/Saving-files-to-created-folder/m-p/35975#M21194</link>
      <description>&lt;P&gt;Thanks much, Jim! Have added a &lt;FONT color="#0000FF"&gt;slash&lt;/FONT&gt; to your suggestion and it worked. Appreciate the help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;OUTPUT = (dirpath&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;||&lt;/STRONG&gt;&lt;/FONT&gt;substitute(MDYHMs(Today()), "/", "-", ":", ".")&lt;FONT color="#0000FF"&gt;||&lt;STRONG&gt;"/"&lt;/STRONG&gt;&lt;/FONT&gt;);&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2017 01:44:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Saving-files-to-created-folder/m-p/35975#M21194</guid>
      <dc:creator>Nalla</dc:creator>
      <dc:date>2017-02-17T01:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: Saving files to created folder</title>
      <link>https://community.jmp.com/t5/Discussions/Saving-files-to-created-folder/m-p/35977#M21196</link>
      <description>&lt;P&gt;oops, my typo....sorry&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2017 01:55:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Saving-files-to-created-folder/m-p/35977#M21196</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2017-02-17T01:55:47Z</dc:date>
    </item>
  </channel>
</rss>

