Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
What is the function of 'Search' sub folder, present inside the 'Apps' folder? Inside this folder I can see my apps and lots of files with encrypted names. What is the use of it and what does it do?
Thanks in advance!
Set vConcatenate = ;
sub ScanFolder(Root)
for each FileExtension in 'csv' /* put your extension that you are searching for */
for each FoundFile in filelist( Root & '\*.' & FileExtension)
FileList:
$(vConcatenate)
LOAD *, '$(FoundFile)' as SourceFile
FROM [$(FoundFile)] (txt, codepage is 1252, embedded labels, delimiter is ',', msq, header is 2 lines);
Set vConcatenate = Concatenate;
next FoundFile
next FileExtension
for each SubDirectory in dirlist( Root & '\*' )
call ScanFolder(SubDirectory)
next SubDirectory
end sub
Call ScanFolder('your_directory') ;