torels

ZIP.au3 UDF in pure AutoIt

227 posts in this topic

Hi, Can you help me,pls. i have some code :
#include "zip.au3"


_Zip_UnzipAll(@scripdir & "\Xin chào mọi người.zip",@scripdir&"\file")

It not work. I think zip.au3 not work with link UTF - 8. Can you help me ! thks

Share this post


Link to post
Share on other sites



Do you mean that it can't handle filenames with these special characters?
The UDF itself is using the standard windows com object "Shell.Application" to unzip, so not much that can be changed there.

Jos

1 person likes this

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Thks Pro :(

Share this post


Link to post
Share on other sites

Just wanted to say thank you for this UDF.

I was able to study it and make an additional function to it based on my needs. Great UDF to use and learn from.

 

-Chris

Share this post


Link to post
Share on other sites

#226 ·  Posted (edited)

"c:\\Zip.au3" (456) : ==> Array variable has incorrect number of subscripts or subscript dimension range exceeded.:
$ZipFile = $ZipSplit[2]
$ZipFile = ^ ERROR
->08:24:55 AutoIt3.exe ended.rc:1
+>08:24:55 AutoIt3Wrapper Finished.
Process exited with code 1

 

Edited by gishi

Share this post


Link to post
Share on other sites

#227 ·  Posted (edited)

well i figured it out... it was the cmd stuff at the beginning of the udf.....

Edited by gishi

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