<?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: Quoting directory path in filename catd pipe 'dir &amp;quot;c:\test&amp;quot; /a-d /b /s'; in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Quoting-directory-path-in-filename-catd-pipe-dir-quot-c-test/m-p/102210#M258221</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;%let logdir = c:\test;&lt;/P&gt;&lt;P&gt;%let command = dir "&amp;amp;logdir" /a-d /b /s ;&lt;/P&gt;&lt;P&gt;%put &amp;amp;command;&lt;/P&gt;&lt;P&gt;filename catd pipe %sysfunc(quote(&amp;amp;command)); &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Feb 2013 20:31:38 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2013-02-07T20:31:38Z</dc:date>
    <item>
      <title>Quoting directory path in filename catd pipe 'dir "c:\test" /a-d /b /s';</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Quoting-directory-path-in-filename-catd-pipe-dir-quot-c-test/m-p/102208#M258219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #333333; background-color: #f0fade;"&gt;Quoting the directory path in below statement, when its supplied as a macro variable,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;path in &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #333333; background-color: #f0fade;"&gt;%let logdir = c:\test;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #333333; background-color: #f0fade;"&gt;%let filot = %str(%'dir %")&amp;amp;logdir%%str(%" /a-d /b /s%');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #333333; background-color: #f0fade;"&gt;%put &amp;amp;filot;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #333333; background-color: #f0fade;"&gt;filename catd pipe &amp;amp;filot ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #333333; background-color: #f0fade;"&gt;filename catd pipe %nrstr(&amp;amp;filot);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #333333; background-color: #f0fade;"&gt;'%put' resolves &amp;amp;filot to the exact value in filename statement, but none other statements gets resolved.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #333333; background-color: #f0fade;"&gt;D Moovendhan &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2013 20:01:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Quoting-directory-path-in-filename-catd-pipe-dir-quot-c-test/m-p/102208#M258219</guid>
      <dc:creator>DMoovendhan</dc:creator>
      <dc:date>2013-02-07T20:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: Quoting directory path in filename catd pipe 'dir "c:\test" /a-d /b /s';</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Quoting-directory-path-in-filename-catd-pipe-dir-quot-c-test/m-p/102209#M258220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #333333; background-color: #f0fade;"&gt;try this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #333333; background-color: #f0fade;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #333333; background-color: #f0fade;"&gt;filename catd pipe "&amp;amp;filot" ;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2013 20:19:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Quoting-directory-path-in-filename-catd-pipe-dir-quot-c-test/m-p/102209#M258220</guid>
      <dc:creator>DBailey</dc:creator>
      <dc:date>2013-02-07T20:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Quoting directory path in filename catd pipe 'dir "c:\test" /a-d /b /s';</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Quoting-directory-path-in-filename-catd-pipe-dir-quot-c-test/m-p/102210#M258221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;%let logdir = c:\test;&lt;/P&gt;&lt;P&gt;%let command = dir "&amp;amp;logdir" /a-d /b /s ;&lt;/P&gt;&lt;P&gt;%put &amp;amp;command;&lt;/P&gt;&lt;P&gt;filename catd pipe %sysfunc(quote(&amp;amp;command)); &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2013 20:31:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Quoting-directory-path-in-filename-catd-pipe-dir-quot-c-test/m-p/102210#M258221</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2013-02-07T20:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: Quoting directory path in filename catd pipe 'dir "c:\test" /a-d /b /s';</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Quoting-directory-path-in-filename-catd-pipe-dir-quot-c-test/m-p/102211#M258222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Bailey, I have tried this, but it doesn't work...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2013 05:32:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Quoting-directory-path-in-filename-catd-pipe-dir-quot-c-test/m-p/102211#M258222</guid>
      <dc:creator>DMoovendhan</dc:creator>
      <dc:date>2013-02-08T05:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Quoting directory path in filename catd pipe 'dir "c:\test" /a-d /b /s';</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Quoting-directory-path-in-filename-catd-pipe-dir-quot-c-test/m-p/102212#M258223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Tom this was more helpful.. Now I know new function quote.. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2013 05:33:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Quoting-directory-path-in-filename-catd-pipe-dir-quot-c-test/m-p/102212#M258223</guid>
      <dc:creator>DMoovendhan</dc:creator>
      <dc:date>2013-02-08T05:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: Quoting directory path in filename catd pipe 'dir "c:\test" /a-d /b /s';</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Quoting-directory-path-in-filename-catd-pipe-dir-quot-c-test/m-p/102213#M258224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also just double the internal quotes yourself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; background-color: #ffffff; font-size: 12pt;"&gt;filename catd pipe "dir ""&amp;amp;logdir"" /a-d /b /s ";&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2013 05:53:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Quoting-directory-path-in-filename-catd-pipe-dir-quot-c-test/m-p/102213#M258224</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2013-02-08T05:53:23Z</dc:date>
    </item>
  </channel>
</rss>

