<?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 Help with File Functions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-File-Functions/m-p/152635#M30003</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manish,&lt;/P&gt;&lt;P&gt;I tried, but still something is missing. I get null results.&lt;/P&gt;&lt;P&gt;Below the script.&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Aldo.&lt;/P&gt;&lt;P&gt;&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 '*.*'&lt;/P&gt;&lt;P&gt;for each File in filelist (Root&amp;amp;'\*.'&amp;amp;Ext)&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;FileName('$(File)') as FileNameOrig,&lt;/P&gt;&lt;P&gt;FileExtension('$(File)') as FileExtensionOrig&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;&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;/P&gt;&lt;P&gt;call DoDir('C:\Temp')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Aug 2010 08:14:48 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-08-09T08:14:48Z</dc:date>
    <item>
      <title>Help with File Functions</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-File-Functions/m-p/152633#M30001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;[View:http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Components.UserFiles/00.00.02.89.41/Files-in-Folder.qvw]&lt;/P&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;Please see the attached qvw. I am trying to use the "File functions", but getting null values.&lt;/P&gt;&lt;P&gt;I am inspecting the files into ''C:\Temp'' (at the end of the script).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What should I change in order to make it work?&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Aldo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Aug 2010 14:14:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-File-Functions/m-p/152633#M30001</guid>
      <dc:creator />
      <dc:date>2010-08-08T14:14:50Z</dc:date>
    </item>
    <item>
      <title>Help with File Functions</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-File-Functions/m-p/152634#M30002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have seen ur code. Please change the following peice of code&lt;/P&gt;&lt;P&gt;//Set the Directory to inspect, and Call the function&lt;BR /&gt;Set myDir = 'C:\Temp';&lt;BR /&gt;Call Dodir(&lt;STRONG&gt;'$(myDir)'&lt;/STRONG&gt;);&lt;/P&gt;&lt;P&gt;with&lt;/P&gt;&lt;P&gt;//Set the Directory to inspect, and Call the function&lt;BR /&gt;Set myDir = 'C:\Temp';&lt;BR /&gt;Call Dodir(&lt;STRONG&gt;myDir&lt;/STRONG&gt;);&lt;/P&gt;&lt;P&gt;Also, declare the variable &lt;STRONG&gt;Root&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Manish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Aug 2010 07:25:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-File-Functions/m-p/152634#M30002</guid>
      <dc:creator>manishkumar75</dc:creator>
      <dc:date>2010-08-09T07:25:04Z</dc:date>
    </item>
    <item>
      <title>Help with File Functions</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-File-Functions/m-p/152635#M30003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manish,&lt;/P&gt;&lt;P&gt;I tried, but still something is missing. I get null results.&lt;/P&gt;&lt;P&gt;Below the script.&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Aldo.&lt;/P&gt;&lt;P&gt;&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 '*.*'&lt;/P&gt;&lt;P&gt;for each File in filelist (Root&amp;amp;'\*.'&amp;amp;Ext)&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;FileName('$(File)') as FileNameOrig,&lt;/P&gt;&lt;P&gt;FileExtension('$(File)') as FileExtensionOrig&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;&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;/P&gt;&lt;P&gt;call DoDir('C:\Temp')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Aug 2010 08:14:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-File-Functions/m-p/152635#M30003</guid>
      <dc:creator />
      <dc:date>2010-08-09T08:14:48Z</dc:date>
    </item>
  </channel>
</rss>

