Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Need to know Execute command to unzip file

I need correct syntax for unzipping all file in a particular folder using execut command.

1 Solution

Accepted Solutions
Not applicable
Author

Hi,

I worked it out.

The syntax is Execute unzip test

(where test is my zip file test.zip)

View solution in original post

7 Replies
Anonymous
Not applicable
Author

Execute launches a command line statement so it depends on what unzipping software you're using.

Look up the command line parameters for your software (Google should be able to help you out).

If you download winzip for example, the syntax would be:

Execute winzip32 -e [options] filename[.zip] folder

Not applicable
Author

Thanks.but Iam beginner .so will u pls tell me .If i want to unzip a file named example in folder workExample.What is the exact way.Iam using winzip only

Not applicable
Author

I cant use unzip in execute till now.Can anyone provide me with exact syntax with example.

Not applicable
Author

Hi,

I worked it out.

The syntax is Execute unzip test

(where test is my zip file test.zip)

chrisbrain
Partner - Specialist II
Partner - Specialist II

The following works with 7zip:

execute "c:\Program Files\7-Zip\7z.exe" e "C:\QVSource\Temp\My CSV File.zip" -y -oc:\QVSource\Temp

You will need 7zip installed and to change the second two underlined paths to suit your needs.

beeido.com - BI | Software | Qlik Integration Services
GitFirst - A CI/CD solution for Qlik Sense
Not applicable
Author

I know this is an old post but is there to zip files in a macro. I don't want to use a bat file for this

Not applicable
Author

Please help! I use 7zip and I need to export 7zip file when reload in QV.


I use these code:
execute "c:\Program Files\7-Zip\7z.exe" e "D:\archive\File_for_export\My CSV File.zip" -y -o D:\archive


Any sugestion,what I do wrong?