<?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 How to read LOG files inside a specific folder and not it's subfolder in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-read-LOG-files-inside-a-specific-folder-and-not-it-s/m-p/273870#M706458</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you have to comment this out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//for each Dir in dirlist (Root&amp;amp;'\*' )&lt;/P&gt;&lt;P&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;call DoDir (Dir)&lt;/P&gt;&lt;P&gt;//next Dir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Feb 2012 04:01:58 GMT</pubDate>
    <dc:creator>Qvmaster2019</dc:creator>
    <dc:date>2012-02-13T04:01:58Z</dc:date>
    <item>
      <title>How to read LOG files inside a specific folder and not it's subfolder</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-read-LOG-files-inside-a-specific-folder-and-not-it-s/m-p/273869#M706457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the below mentioned code to read QV log files from folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub DoDir (Root)&lt;/P&gt;&lt;P&gt;//for each Ext in 'qvw', 'qvo', 'qvs', 'qvt', 'qvd'&lt;BR /&gt;for each Ext in 'log'&lt;/P&gt;&lt;P&gt;for each File in filelist (Root&amp;amp;'\*.' &amp;amp;Ext)&lt;/P&gt;&lt;P&gt;FilesName_Temp1:&lt;BR /&gt;Load '$(File)' as Name&lt;/P&gt;&lt;P&gt;autogenerate 1;&lt;/P&gt;&lt;P&gt;next File&lt;/P&gt;&lt;P&gt;next Ext&lt;/P&gt;&lt;P&gt;for each Dir in dirlist (Root&amp;amp;'\*' )&lt;/P&gt;&lt;P&gt;call DoDir (Dir)&lt;/P&gt;&lt;P&gt;next Dir&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Set LogEnviron='Production';&lt;BR /&gt;call DoDir ('\\production\d$\QV App') ;&lt;/P&gt;&lt;P&gt;FilesName_Temp2:&lt;BR /&gt;Load Left(Name,-1) as Name1&lt;BR /&gt;resident FilesName_Temp1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are subfolder under "QV App" folder from where I am reading the logs. It is working fine but the problem is this cose is pulling all the log files from subfolders also. I specifically want to pull only from "QV App" folder and not from subfolders.&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sharma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2012 01:08:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-read-LOG-files-inside-a-specific-folder-and-not-it-s/m-p/273869#M706457</guid>
      <dc:creator>montubhardwaj</dc:creator>
      <dc:date>2012-02-13T01:08:44Z</dc:date>
    </item>
    <item>
      <title>How to read LOG files inside a specific folder and not it's subfolder</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-read-LOG-files-inside-a-specific-folder-and-not-it-s/m-p/273870#M706458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you have to comment this out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//for each Dir in dirlist (Root&amp;amp;'\*' )&lt;/P&gt;&lt;P&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;call DoDir (Dir)&lt;/P&gt;&lt;P&gt;//next Dir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2012 04:01:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-read-LOG-files-inside-a-specific-folder-and-not-it-s/m-p/273870#M706458</guid>
      <dc:creator>Qvmaster2019</dc:creator>
      <dc:date>2012-02-13T04:01:58Z</dc:date>
    </item>
    <item>
      <title>How to read LOG files inside a specific folder and not it's subfolder</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-read-LOG-files-inside-a-specific-folder-and-not-it-s/m-p/273871#M706459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Dnatividad,&lt;/P&gt;&lt;P&gt;Thanks much. It worked. I completely missed this. Thanks again.:)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sharma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2012 04:58:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-read-LOG-files-inside-a-specific-folder-and-not-it-s/m-p/273871#M706459</guid>
      <dc:creator>montubhardwaj</dc:creator>
      <dc:date>2012-02-13T04:58:07Z</dc:date>
    </item>
  </channel>
</rss>

