<?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: Using FOR EACH ... DIRLIST to iterate through multiple folders using wildcards in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-FOR-EACH-DIRLIST-to-iterate-through-multiple-folders-using/m-p/1550105#M744176</link>
    <description>&lt;P&gt;apostrophes work for me.&lt;/P&gt;</description>
    <pubDate>Wed, 27 Feb 2019 20:38:55 GMT</pubDate>
    <dc:creator>m_woolf</dc:creator>
    <dc:date>2019-02-27T20:38:55Z</dc:date>
    <item>
      <title>Using FOR EACH ... DIRLIST to iterate through multiple folders using wildcards</title>
      <link>https://community.qlik.com/t5/QlikView/Using-FOR-EACH-DIRLIST-to-iterate-through-multiple-folders-using/m-p/1550061#M744175</link>
      <description>&lt;P&gt;&lt;FONT color="#000000" face="arial,helvetica,sans-serif" size="3"&gt;In the script below, note that there are spaces in the folder path saved as vFileQVD below.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="arial,helvetica,sans-serif" size="3"&gt;When I run the script, the dirlist command fails.&amp;nbsp; If I take out the spaces, it works ok.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#0000ff" size="1"&gt;LET&lt;/FONT&gt;&lt;/STRONG&gt; &lt;STRONG&gt;&lt;I&gt;&lt;FONT color="#808080" size="1"&gt;vFileQVD&lt;/FONT&gt;&lt;/I&gt;&lt;/STRONG&gt;&lt;FONT size="1"&gt; = '\\hbsvr.adroot.myBiz\root\Download\GBL&amp;nbsp;DOG - CAT';&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#0000ff" size="1"&gt;for&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" size="1"&gt;each&lt;/FONT&gt; &lt;STRONG&gt;&lt;I&gt;&lt;FONT color="#808080" size="1"&gt;Dir&lt;/FONT&gt;&lt;/I&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" size="1"&gt;in&lt;/FONT&gt; &lt;FONT color="#0000ff" size="1"&gt;dirlist&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;STRONG&gt;&lt;I&gt;&lt;FONT color="#808080" size="1"&gt;$(vFileQVD)&lt;/FONT&gt;&lt;/I&gt;&lt;/STRONG&gt;&lt;FONT size="1"&gt;&amp;amp;'\*')&lt;BR /&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#0000ff" size="1"&gt;TRACE&lt;/FONT&gt;&lt;/STRONG&gt; &lt;STRONG&gt;&lt;I&gt;&lt;FONT color="#808080" size="1"&gt;$(Dir)&lt;/FONT&gt;&lt;/I&gt;&lt;/STRONG&gt;&lt;FONT size="1"&gt;;&lt;BR /&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#0000ff" size="1"&gt;Next&lt;/FONT&gt;&lt;/STRONG&gt; &lt;STRONG&gt;&lt;I&gt;&lt;FONT color="#808080" size="1"&gt;Dir&lt;/FONT&gt;&lt;/I&gt;&lt;/STRONG&gt;&lt;FONT size="1"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#0000ff" size="1"&gt;exit&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" size="1"&gt;script&lt;/FONT&gt;&lt;FONT size="1"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1"&gt;&lt;FONT color="#000000" face="arial,helvetica,sans-serif" size="3"&gt;How should I wrap the string so I don't get an error?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-FOR-EACH-DIRLIST-to-iterate-through-multiple-folders-using/m-p/1550061#M744175</guid>
      <dc:creator>tschullo</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using FOR EACH ... DIRLIST to iterate through multiple folders using wildcards</title>
      <link>https://community.qlik.com/t5/QlikView/Using-FOR-EACH-DIRLIST-to-iterate-through-multiple-folders-using/m-p/1550105#M744176</link>
      <description>&lt;P&gt;apostrophes work for me.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Feb 2019 20:38:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-FOR-EACH-DIRLIST-to-iterate-through-multiple-folders-using/m-p/1550105#M744176</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2019-02-27T20:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: Using FOR EACH ... DIRLIST to iterate through multiple folders using wildcards</title>
      <link>https://community.qlik.com/t5/QlikView/Using-FOR-EACH-DIRLIST-to-iterate-through-multiple-folders-using/m-p/1550112#M744177</link>
      <description>&lt;P&gt;for each Dir in dirlist(&lt;FONT color="#ff0000"&gt;'&lt;/FONT&gt;$(vFileQVD)&lt;FONT color="#ff0000"&gt;'&lt;/FONT&gt; &amp;amp; '\*')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;OK, thanks, that worked.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Feb 2019 20:52:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-FOR-EACH-DIRLIST-to-iterate-through-multiple-folders-using/m-p/1550112#M744177</guid>
      <dc:creator>tschullo</dc:creator>
      <dc:date>2019-02-27T20:52:46Z</dc:date>
    </item>
  </channel>
</rss>

