Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
francisvandergr
Partner - Creator II
Partner - Creator II

Eml adn PDf files

I read with QV an dir. with files. In the dir i have two type of files EML (Emails and PDF files).

I like to have the DateMOdified. With my script below i get only result of the PDF files.

Is it possible to read thje date modified fomr an EML file ?

SET FilePath='*.*';
sub DoDir (Dir)
for each File in filelist ('$(Dir)\$(FilePath)')

SET sFile = '$(File)';

NomFile:

First 1 LOAD
daTE(FileTime()) As FileDate,
FileName() As FileName,
MID(FileName(),1,8) As Order.Nummer
from [$(sFile)];

next File
//
end sub;

call DoDir ('C:\files');

Labels (1)
0 Replies