<?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: Extracting only file names from the folders in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Extracting-only-file-names-from-the-folders/m-p/440134#M109901</link>
    <description>&lt;P&gt;If your SAS session runs on a remote server, you most probably won't have access to your local drives from SAS code.&lt;/P&gt;</description>
    <pubDate>Mon, 26 Feb 2018 08:57:09 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2018-02-26T08:57:09Z</dc:date>
    <item>
      <title>Extracting only file names from the folders</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Extracting-only-file-names-from-the-folders/m-p/440120#M109896</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a folder in my local d drive. in that folder i have various Excel, Csv workbooks and Tab files with different names.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So here i wanted to just extract the name's and type of the file and size of the file into a data set.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2018 06:44:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Extracting-only-file-names-from-the-folders/m-p/440120#M109896</guid>
      <dc:creator>srinath3111</dc:creator>
      <dc:date>2018-02-26T06:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting only file names from the folders</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Extracting-only-file-names-from-the-folders/m-p/440129#M109899</link>
      <description>&lt;P&gt;Look at the f-function: finfo, fopen and the dopen-function together with dread and dnum to iterate over the contents of the directory. If you can execute shell commands, use dir or ls (depending on the os) together with filename statement. There are many examples out there, i am sure you will useful ideas.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2018 08:21:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Extracting-only-file-names-from-the-folders/m-p/440129#M109899</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2018-02-26T08:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting only file names from the folders</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Extracting-only-file-names-from-the-folders/m-p/440134#M109901</link>
      <description>&lt;P&gt;If your SAS session runs on a remote server, you most probably won't have access to your local drives from SAS code.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2018 08:57:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Extracting-only-file-names-from-the-folders/m-p/440134#M109901</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-02-26T08:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting only file names from the folders</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Extracting-only-file-names-from-the-folders/m-p/440136#M109902</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When&amp;nbsp;I provide server path's also it wont work?.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2018 09:06:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Extracting-only-file-names-from-the-folders/m-p/440136#M109902</guid>
      <dc:creator>srinath3111</dc:creator>
      <dc:date>2018-02-26T09:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting only file names from the folders</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Extracting-only-file-names-from-the-folders/m-p/440137#M109903</link>
      <description>&lt;P&gt;If the resources as seen on your desktop (eg your D:\ drive) are not somehow mounted on the server, then your SAS process can't "see" them.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2018 09:08:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Extracting-only-file-names-from-the-folders/m-p/440137#M109903</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-02-26T09:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting only file names from the folders</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Extracting-only-file-names-from-the-folders/m-p/440138#M109904</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working out in server along with the server path's.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2018 09:22:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Extracting-only-file-names-from-the-folders/m-p/440138#M109904</guid>
      <dc:creator>srinath3111</dc:creator>
      <dc:date>2018-02-26T09:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting only file names from the folders</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Extracting-only-file-names-from-the-folders/m-p/440139#M109905</link>
      <description>&lt;P&gt;Please make up your mind. Quote from your original post:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"I have a folder in my &lt;STRONG&gt;local&lt;/STRONG&gt; d drive."&lt;/P&gt;
&lt;P&gt;(emphasis by me)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are we talking about server resources, or resources on your desktop?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please specify in-depth information about your SAS setup, and which data on which location you want to inspect for filenames.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2018 09:40:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Extracting-only-file-names-from-the-folders/m-p/440139#M109905</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-02-26T09:40:24Z</dc:date>
    </item>
  </channel>
</rss>

