Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Join us at the Cloud Data and Analytics Tour! REGISTER TODAY
Showing results for 
Search instead for 
Did you mean: 
Creator III
Creator III

unzip multiple zip files in sub folders

Execute- can take care of extracting single zip file.

However, i need to deal with many zip files on loading. Can some one help me how to unzip multiple zip files in sub sub folders and load extracted data ?

1 Reply

this should help:

sub BrowseDirectory (Root)

    for each vFileName in filelist (Root&'\*.zip')

        trace found zip file  $(vFileName);




    next vFileName

    for each vDirectory in dirlist (Root&'\*' )

     call BrowseDirectory (vDirectory)

     next vDirectory

end sub

call BrowseDirectory ('C:')