<?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 Load all files in folder with two extension types in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-all-files-in-folder-with-two-extension-types/m-p/642663#M1089249</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to load all files within a folder (in which has sub folders, which I DON'T want to load).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the moment I'm using&amp;nbsp; [pathname\*.xls] which reads XLS files, but I ALSO want to load in xlsX files. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 May 2014 08:22:28 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-05-22T08:22:28Z</dc:date>
    <item>
      <title>Load all files in folder with two extension types</title>
      <link>https://community.qlik.com/t5/QlikView/Load-all-files-in-folder-with-two-extension-types/m-p/642663#M1089249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to load all files within a folder (in which has sub folders, which I DON'T want to load).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the moment I'm using&amp;nbsp; [pathname\*.xls] which reads XLS files, but I ALSO want to load in xlsX files. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 08:22:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-all-files-in-folder-with-two-extension-types/m-p/642663#M1089249</guid>
      <dc:creator />
      <dc:date>2014-05-22T08:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: Load all files in folder with two extension types</title>
      <link>https://community.qlik.com/t5/QlikView/Load-all-files-in-folder-with-two-extension-types/m-p/642664#M1089250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try This&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET PathName = '..\..\MyDirectory\*.xls?';&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 08:28:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-all-files-in-folder-with-two-extension-types/m-p/642664#M1089250</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-05-22T08:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: Load all files in folder with two extension types</title>
      <link>https://community.qlik.com/t5/QlikView/Load-all-files-in-folder-with-two-extension-types/m-p/642665#M1089251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and if you may have there xlsY, which maybe you dont like to load, you may try something presented in help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="Code"&gt;SUB DoDir (Root)&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;P class="Code"&gt;FOR Each Ext in 'qvw', 'qva', 'qvo', 'qvs'&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;P class="Code"&gt;FOR Each File in filelist (Root&amp;amp;' \*.' &amp;amp;Ext)&lt;/P&gt;&lt;P class="Code"&gt;LOAD &lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;P class="Code"&gt;'$(File)' as Name, &lt;/P&gt;&lt;P class="Code"&gt;FileSize( '$(File)' ) as Size, &lt;/P&gt;&lt;P class="Code"&gt;FileTime( '$(File)' ) as FileTime&lt;/P&gt;&lt;P class="Code"&gt;autogenerate 1;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P class="Code"&gt;NEXT File&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P class="Code"&gt;NEXT Ext&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;P class="Code"&gt;FOR Each Dir in dirlist (Root&amp;amp;' \*' )&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;P class="Code"&gt;call DoDir (Dir)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;P class="Code"&gt;NEXT Dir&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P class="Code"&gt;ENDSUB&lt;/P&gt;&lt;P class="Code"&gt;CALL DoDir ('C:')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 11:11:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-all-files-in-folder-with-two-extension-types/m-p/642665#M1089251</guid>
      <dc:creator />
      <dc:date>2014-05-22T11:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: Load all files in folder with two extension types</title>
      <link>https://community.qlik.com/t5/QlikView/Load-all-files-in-folder-with-two-extension-types/m-p/642666#M1089252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to load these files separately since the load structure is different for xls and xlsx.&lt;/P&gt;&lt;P&gt;Like :&lt;/P&gt;&lt;P&gt;TempXls:&lt;/P&gt;&lt;P&gt;pathname\*.xls]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TempXlsx:&lt;/P&gt;&lt;P&gt;pathname\*.xlsx]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then do a concatenate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 11:34:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-all-files-in-folder-with-two-extension-types/m-p/642666#M1089252</guid>
      <dc:creator>jerrysvensson</dc:creator>
      <dc:date>2014-05-22T11:34:05Z</dc:date>
    </item>
  </channel>
</rss>

