Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Join us at the Cloud Data and Analytics Tour! REGISTER TODAY
cancel
Showing results for 
Search instead for 
Did you mean: 
praveenavelagap
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
Alejandro_Hernández

this should help:

sub BrowseDirectory (Root)

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

        trace found zip file  $(vFileName);

        //extact

        //load

        //etc.

    next vFileName

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

     call BrowseDirectory (vDirectory)

     next vDirectory

end sub

call BrowseDirectory ('C:')