dazza Posted June 2, 2010 Posted June 2, 2010 Does AutoIT have a clever way to unzip a file and read the contents of the unzipped file?
water Posted June 2, 2010 Posted June 2, 2010 (edited) Did you search the forum? There are UDFs for ZIP and 7ZIP available. BTW: What do you mean by clever? Edited June 2, 2010 by water My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
Fire Posted June 2, 2010 Posted June 2, 2010 (edited) 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.htmlDownload .zip 32-bit 7-Zip Command Line VersionDirect link for 7z command line utility:http://sourceforge.net/projects/sevenzip/files/7-Zip/4.65/7za465.zip/downloadYou 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 June 2, 2010 by Fire [size="5"] [/size]
UEZ Posted June 2, 2010 Posted June 2, 2010 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!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ
evilertoaster Posted June 2, 2010 Posted June 2, 2010 There's also a plugin option: http://www.autoitscript.com/forum/index.php?showtopic=44524"Pure" AutoIt option: http://www.autoitscript.com/forum/index.php?showtopic=38019and a DLLCall option: http://www.autoitscript.com/forum/index.php?showtopic=15314
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now