Jump to content
Sign in to follow this  
dazza

Can AutoIT unzip a file?

Recommended Posts

dazza

Does AutoIT have a clever way to unzip a file and read the contents of the unzipped file?

Share this post


Link to post
Share on other sites
water

Did you search the forum? There are UDFs for ZIP and 7ZIP available.

BTW: What do you mean by clever?

Edited by water

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (2018-06-01 - Version 1.4.9.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2018-09-01 - Version 1.3.4.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites
Fire

Without 3rd party utilities i didn`t saw extracting of zip file in autoit.(Search in forum may be you can find some UDF for this)

But using 3rd party Opensource utilities such as 7z and you can do everythink with zip file (extract,add,update etc...)

Download 7z from here:

Official site: http://www.7-zip.org/download.html

Download .zip 32-bit 7-Zip Command Line Version

Direct link for 7z command line utility:

http://sourceforge.net/projects/sevenzip/files/7-Zip/4.65/7za465.zip/download

You can found all command line switches for 7z in help file or you can execute 7za.exe from command line with --help for see which options it has.

And then automate all your task using AUTOIT.

edit: /? to --help

Edited by Fire

[size="5"] [/size]

Share this post


Link to post
Share on other sites
UEZ

You can also use the build-in zip from Windows if it is installed -> http://www.autoitscript.com/forum/index.php?showtopic=101529&view=findpost&p=721866

BR,

UEZ


Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×