<?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: File Name and Date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/File-Name-and-Date/m-p/1755484#M1313621</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/92449"&gt;@FrankC&lt;/a&gt;&amp;nbsp; you can customize the below code :&lt;/P&gt;&lt;LI-CODE lang="python"&gt;Set $v_File_root = FileTime('C:...'); // your folder path

Set vConcatenate = ;

sub ScanFolder(Root)


                    for each FoundFile in filelist( Root &amp;amp; '\*.*');

                              FileList:

                              $(vConcatenate)

                              LOAD *,
                              FileTime('$(FoundFile)') as XX,
                              FilePath('$(FoundFile)') as YY,
                              '$(Root)' as ZZ

                              FROM [$(FoundFile)] (txt, codepage is 1252, embedded labels, delimiter is '\t', msq);

                              Set vConcatenate = Concatenate;
                             

                    next FoundFile

          

          for each SubDirectory in dirlist( Root &amp;amp; '\*' )

                    call ScanFolder(SubDirectory)

          next SubDirectory

end sub

Call ScanFolder('C:\.....') ;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you need FileTime() for the update information ....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 23 Oct 2020 14:26:07 GMT</pubDate>
    <dc:creator>Taoufiq_Zarra</dc:creator>
    <dc:date>2020-10-23T14:26:07Z</dc:date>
    <item>
      <title>File Name and Date</title>
      <link>https://community.qlik.com/t5/QlikView/File-Name-and-Date/m-p/1755446#M1313612</link>
      <description>&lt;P&gt;I would like to loop through a folder and get the file name and update date.&amp;nbsp; I would like to create a dashboard that shows the last time a file (qvd) was updated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone point me in the right direction?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/File-Name-and-Date/m-p/1755446#M1313612</guid>
      <dc:creator>FrankC</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: File Name and Date</title>
      <link>https://community.qlik.com/t5/QlikView/File-Name-and-Date/m-p/1755475#M1313616</link>
      <description>&lt;P&gt;Use below as a baseline.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;set vRoot = '.';

FOR Each File in filelist ('$(vRoot)'&amp;amp;'\*.qvd')
	CurrentFileList:
	Load 
		'$(File)' as File
		,FileTime(	'$(File)') as LastUpdate	
		autogenerate 1;	 	
next File&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;it loops through all qvds in a folder (vroot) and created table with file name-path and last update datetime&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 14:19:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/File-Name-and-Date/m-p/1755475#M1313616</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2020-10-23T14:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: File Name and Date</title>
      <link>https://community.qlik.com/t5/QlikView/File-Name-and-Date/m-p/1755484#M1313621</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/92449"&gt;@FrankC&lt;/a&gt;&amp;nbsp; you can customize the below code :&lt;/P&gt;&lt;LI-CODE lang="python"&gt;Set $v_File_root = FileTime('C:...'); // your folder path

Set vConcatenate = ;

sub ScanFolder(Root)


                    for each FoundFile in filelist( Root &amp;amp; '\*.*');

                              FileList:

                              $(vConcatenate)

                              LOAD *,
                              FileTime('$(FoundFile)') as XX,
                              FilePath('$(FoundFile)') as YY,
                              '$(Root)' as ZZ

                              FROM [$(FoundFile)] (txt, codepage is 1252, embedded labels, delimiter is '\t', msq);

                              Set vConcatenate = Concatenate;
                             

                    next FoundFile

          

          for each SubDirectory in dirlist( Root &amp;amp; '\*' )

                    call ScanFolder(SubDirectory)

          next SubDirectory

end sub

Call ScanFolder('C:\.....') ;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you need FileTime() for the update information ....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 14:26:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/File-Name-and-Date/m-p/1755484#M1313621</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2020-10-23T14:26:07Z</dc:date>
    </item>
  </channel>
</rss>

