<?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: Rapid directory/file scan in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rapid-directory-file-scan/m-p/514229#M693522</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this will get you a table with the full file paths:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;execute cmd.exe /c dir /s /b d:\qvdata &amp;gt; myfilelist.txt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD @1 as Filename&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;myfilelist.txt&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, no labels, delimiter is ';');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the subfield and./or index functions to get the directory and file names.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Jun 2013 05:53:54 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2013-06-27T05:53:54Z</dc:date>
    <item>
      <title>Rapid directory/file scan</title>
      <link>https://community.qlik.com/t5/QlikView/Rapid-directory-file-scan/m-p/514228#M693521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I have to scan a directory with subfolders for each day of the year, containing up to around 400 files. So this will generate more than 10000 files each month. I tried a script using the code sequence "For each ... in ... ". That works very fine, but with very low speed (several hours). Is there a more rapid way e.g. using a macro and system functions to speed up the process. The goal is, to generate a list of files with the complete path, so that I can sort out the ones, for loading the complete data from the files.&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2013 05:24:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rapid-directory-file-scan/m-p/514228#M693521</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-27T05:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: Rapid directory/file scan</title>
      <link>https://community.qlik.com/t5/QlikView/Rapid-directory-file-scan/m-p/514229#M693522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this will get you a table with the full file paths:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;execute cmd.exe /c dir /s /b d:\qvdata &amp;gt; myfilelist.txt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD @1 as Filename&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;myfilelist.txt&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, no labels, delimiter is ';');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the subfield and./or index functions to get the directory and file names.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2013 05:53:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rapid-directory-file-scan/m-p/514229#M693522</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-06-27T05:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: Rapid directory/file scan</title>
      <link>https://community.qlik.com/t5/QlikView/Rapid-directory-file-scan/m-p/514230#M693523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;your idea makes the difference. It only took around 6 minutes to create a filellist with more than 900000 entries. Thanks a lot for that.&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2013 06:14:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rapid-directory-file-scan/m-p/514230#M693523</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-27T06:14:17Z</dc:date>
    </item>
  </channel>
</rss>

