extract with hb_UnZipFile to same directory

extract with hb_UnZipFile to same directory

Postby Marc Vanzegbroeck » Mon Dec 16, 2019 1:36 pm

Hi,

I have a zip file that contains multiple diectory's with files.
If I use hb_UnZipFile(), it create the files and the directory.
Is is possible to extract all the files to 1 directory? (So without the directory).
Normaly, all files are unique, so there will be no problem with duplicated files .
Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Re: extract with hb_UnZipFile to same directory

Postby Marc Vanzegbroeck » Mon Dec 16, 2019 2:40 pm

Hi,

Just found it. With the lWithPath parameter.
Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 52 guests