This field is required.
Only these extensions are allowed(.jpg, .JPG, .jpeg, .JPEG, .gif, .GIF, .png, .PNG)
Tags cannot contain the characters ' /, \\, #, ?, or ; >,< '
Only these extensions are allowed(.zip,.ZIP,.pdf,.PDF,.qvf,.QVF,.qvw,.QVW)
Discussion Board for collaboration related to QlikView App Development.
Is it possible to have QlikView search a directory (C:\myfolder) and return list of all the file names in that folder? All of the files are .txt files.
Thanks for all the replies. I was able to get it to work found this script
set vRoot = 'C:\myfolder';
FOR Each Ext in 'txt'
FOR Each File in filelist ('$(vRoot)'&'\*.'&Ext)
Load '$(File)' as Name, FileSize( '$(File)' ) as
Size, FileTime( '$(File)' ) as FileTime
View solution in original post
Load list of files in a Folder
I use this in my script:
// ================ Get TXTfiles ==========================SUB DoDir (Root) LET vFirstLoop=1; Let FileMask= Root &'\*.txt;
FOR Each File in filelist (FileMask); FileList: LOAD '$(File)' as Name, FileSize( '$(File)' ) as Size, FileTime( '$(File)' ) as FileTime autogenerate 1;
CALL DoDir (MyPath);
Maybe this post could be helpful for you:
Find My Files.zip
Hi, is there any way to specify multiple file extension.
if i have excel and text file in the same folder, how we will load it.
and also how to load the files which are available in sub folder.