NEMESISaka Posted September 3, 2009 Share Posted September 3, 2009 Hello... I have search on forum for some topic like this, but i found some a bit complex... I dont know much of autoit, so, if you can say me only if is possible extract one file giving only the directory and name of the zip? For exemple... $ZipDirectory = @DesktopDir $ZipName = @DesktopDir "the command"($ZipDirectory & "\" & ZipName (for give the directory and name of zip), @DesktopDir(the directory where the files will be pasted If anyone can help me, thank you... Link to comment Share on other sites More sharing options...
99ojo Posted September 3, 2009 Share Posted September 3, 2009 (edited) Hello... I have search on forum for some topic like this, but i found some a bit complex... I dont know much of autoit, so, if you can say me only if is possible extract one file giving only the directory and name of the zip? For exemple... $ZipDirectory = @DesktopDir $ZipName = @DesktopDir "the command"($ZipDirectory & "\" & ZipName (for give the directory and name of zip), @DesktopDir(the directory where the files will be pasted If anyone can help me, thank you... Hi, see: http://www.autoitscript.com/forum/index.php?showtopic=73425 Download the zip.au3 und copy it into your AutoIT\include folder. You have to use Function _Zip_Unzip($hZipFile, $hFilename, $hDestPath, $flag = 1) where ; Parameter(s): $hZipFile - Complete path to zip file that will be created (or handle if existant) ; $hFilename - Name of the element in the zip archive ex. "hello_world.txt" ; $hDestPath - Complete path to where the files will be extracted ; $flag = 1 ; - 1 no progress box ; - 0 progress box - 0 progress box #include <zip.au3> _Zip_Unzip ("c:\myzip.zip", "filename_and_suffix_to_extract", @DesktopDir & "\myzip", 1) ;-)) Stefan Edited September 3, 2009 by 99ojo Link to comment Share on other sites More sharing options...
NEMESISaka Posted September 3, 2009 Author Share Posted September 3, 2009 (edited) Thank you alot!! Edited September 3, 2009 by NEMESISaka Link to comment Share on other sites More sharing options...
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