Loading Filetime from all Subfolders of a root folder
Hi,
I want to load the filetimes of files present in all the subfolders of that particular root folder.
My script is as follows :
LET vPath = 'J:\IT\Time';
LET vType = '*';
for Each Filename in FileList('$(vPath)\*.$(vType)')
LOAD Distinct
FileTime() as [File -Time],
From [$(Filename)];
NEXT Filename;
This script extracts filetime of only those files present in the path defined and not from its subfolders. I want the data from all its subfolders as well, how is this achievable ?