<?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 Using SAS code to delete many different  .xlsx files in a folder in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Using-SAS-code-to-delete-many-different-xlsx-files-in-a-folder/m-p/587758#M167891</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to find a way how to 'empty' a folder with many different named Excel files using SAS.&lt;/P&gt;&lt;P&gt;'Fdelete' does not work, as it works only for one file, but I have many...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Sep 2019 08:55:53 GMT</pubDate>
    <dc:creator>gradus</dc:creator>
    <dc:date>2019-09-11T08:55:53Z</dc:date>
    <item>
      <title>Using SAS code to delete many different  .xlsx files in a folder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-SAS-code-to-delete-many-different-xlsx-files-in-a-folder/m-p/587758#M167891</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to find a way how to 'empty' a folder with many different named Excel files using SAS.&lt;/P&gt;&lt;P&gt;'Fdelete' does not work, as it works only for one file, but I have many...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2019 08:55:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-SAS-code-to-delete-many-different-xlsx-files-in-a-folder/m-p/587758#M167891</guid>
      <dc:creator>gradus</dc:creator>
      <dc:date>2019-09-11T08:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: Using SAS code to delete many different  .xlsx files in a folder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-SAS-code-to-delete-many-different-xlsx-files-in-a-folder/m-p/587786#M167903</link>
      <description>Have a look at this thread: &lt;A href="https://communities.sas.com/t5/SAS-Programming/delete-folders-with-files-from-SAS/td-p/433469" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/delete-folders-with-files-from-SAS/td-p/433469&lt;/A&gt;</description>
      <pubDate>Wed, 11 Sep 2019 11:27:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-SAS-code-to-delete-many-different-xlsx-files-in-a-folder/m-p/587786#M167903</guid>
      <dc:creator>JosvanderVelden</dc:creator>
      <dc:date>2019-09-11T11:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: Using SAS code to delete many different  .xlsx files in a folder</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-SAS-code-to-delete-many-different-xlsx-files-in-a-folder/m-p/587904#M167942</link>
      <description>&lt;P&gt;If the X command has not been disabled at your installation then&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;x "del c:\folder\subfolder\*.xlsx" ;&lt;/P&gt;
&lt;P&gt;should delete all xlsx files in the target folder on a windows system&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have groups of files will similar names you can use:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;x "del c:\folder\subfolder\CommonNamePart*.xlsx"&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;x "del c:\folder\subfolder\*CommonNamePart.xlsx"&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2019 15:21:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-SAS-code-to-delete-many-different-xlsx-files-in-a-folder/m-p/587904#M167942</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-09-11T15:21:59Z</dc:date>
    </item>
  </channel>
</rss>

