<?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: Filename pipe with blanks in the directory name in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Filename-pipe-with-blanks-in-the-directory-name/m-p/535518#M6498</link>
    <description>&lt;P&gt;Thanks !&lt;/P&gt;</description>
    <pubDate>Thu, 14 Feb 2019 08:44:00 GMT</pubDate>
    <dc:creator>Illodolaio</dc:creator>
    <dc:date>2019-02-14T08:44:00Z</dc:date>
    <item>
      <title>Filename pipe with blanks in the directory name</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Filename-pipe-with-blanks-in-the-directory-name/m-p/535188#M6423</link>
      <description>&lt;P&gt;Hi everybody,&lt;/P&gt;
&lt;P&gt;I got this code&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;filename fnames pipe "dir /ds/data star/* /b";&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;data fnames;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; infile fnames pad missover;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; input @1 filename $255.;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It reads all the files in the directory and create a dataset with one record for each file in the directory.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;The problem is the blank in the middle of the name of the directory, &lt;EM&gt;data star.&lt;/EM&gt;&lt;BR /&gt;If I remove this blank (and put &lt;EM&gt;datastar&lt;/EM&gt; instead of &lt;EM&gt;data star&lt;/EM&gt;, for example) is OK.&lt;BR /&gt;With it, &lt;STRONG&gt;it reads a not correct path, /ds/data&lt;/STRONG&gt;.&lt;BR /&gt;I can't remove the blank in the directory name so could I do to obtain the correct path?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 13:55:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Filename-pipe-with-blanks-in-the-directory-name/m-p/535188#M6423</guid>
      <dc:creator>Illodolaio</dc:creator>
      <dc:date>2019-02-13T13:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Filename pipe with blanks in the directory name</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Filename-pipe-with-blanks-in-the-directory-name/m-p/535202#M6427</link>
      <description>&lt;P&gt;Its a matter of quoting:&lt;/P&gt;
&lt;PRE&gt;filename fnames pipe 'dir "/ds/data star" /b';
&lt;/PRE&gt;
&lt;P&gt;Put single quotes around the string, and use double quotes around the network path.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 14:47:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Filename-pipe-with-blanks-in-the-directory-name/m-p/535202#M6427</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2019-02-13T14:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: Filename pipe with blanks in the directory name</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Filename-pipe-with-blanks-in-the-directory-name/m-p/535518#M6498</link>
      <description>&lt;P&gt;Thanks !&lt;/P&gt;</description>
      <pubDate>Thu, 14 Feb 2019 08:44:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Filename-pipe-with-blanks-in-the-directory-name/m-p/535518#M6498</guid>
      <dc:creator>Illodolaio</dc:creator>
      <dc:date>2019-02-14T08:44:00Z</dc:date>
    </item>
  </channel>
</rss>

