<?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 Delete external files? - scripting in JSL in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-Delete-external-files-scripting-in-JSL/m-p/7181#M7175</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;from the JMP 10.01 /Help, Scripting Index, Utility functions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Copy File()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File Exists()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Delete File()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;functions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;-Matt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Aug 2013 14:58:29 GMT</pubDate>
    <dc:creator>mattflynn</dc:creator>
    <dc:date>2013-08-06T14:58:29Z</dc:date>
    <item>
      <title>How to Delete external files? - scripting in JSL</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-Delete-external-files-scripting-in-JSL/m-p/7180#M7174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;Is there a way to Delete files from within the JSL scripting?&amp;nbsp; Looking for a DELETE command or something like that.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;For example:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;myfiles = Files In Directory("pathname")&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;gt; provides a list of all files in the pathname, and I would like to delete one or more of those files in the list.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;Anybody know how to do this?&amp;nbsp; Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;- Mark -&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 16:40:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-Delete-external-files-scripting-in-JSL/m-p/7180#M7174</guid>
      <dc:creator>wmwinn</dc:creator>
      <dc:date>2013-08-01T16:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to Delete external files? - scripting in JSL</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-Delete-external-files-scripting-in-JSL/m-p/7181#M7175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;from the JMP 10.01 /Help, Scripting Index, Utility functions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Copy File()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File Exists()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Delete File()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;functions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;-Matt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Aug 2013 14:58:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-Delete-external-files-scripting-in-JSL/m-p/7181#M7175</guid>
      <dc:creator>mattflynn</dc:creator>
      <dc:date>2013-08-06T14:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to Delete external files? - scripting in JSL</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-Delete-external-files-scripting-in-JSL/m-p/7182#M7176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're using an earlier release than jmp10 (for windows), you can in your script create a .bat file and also call this .bat to delete files.&lt;/P&gt;&lt;P&gt;===================================================&lt;/P&gt;&lt;P&gt;/* Create a .bat file command with delete instruction */&lt;/P&gt;&lt;P&gt;Save Text File("C:\deletemyfile.bat","del C:\myfolder\myfile.txt");&lt;/P&gt;&lt;P&gt;/* Execute the .bat file in order to delete the file */&lt;/P&gt;&lt;P&gt;Open("C:\deletemyfile.bat");&lt;/P&gt;&lt;P&gt;===================================================&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2013 06:18:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-Delete-external-files-scripting-in-JSL/m-p/7182#M7176</guid>
      <dc:creator>gbu</dc:creator>
      <dc:date>2013-08-07T06:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to Delete external files? - scripting in JSL</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-Delete-external-files-scripting-in-JSL/m-p/7183#M7177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, gbu.&amp;nbsp; Since I'm running JMP v9, that's exactly what I did.&amp;nbsp; It's working GREAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question ANSWERED.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2013 14:06:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-Delete-external-files-scripting-in-JSL/m-p/7183#M7177</guid>
      <dc:creator>wmwinn</dc:creator>
      <dc:date>2013-08-07T14:06:25Z</dc:date>
    </item>
  </channel>
</rss>

