extract with hb_UnZipFile to same directory

Post Reply
Marc Vanzegbroeck
Posts: 1102
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium
Contact:

extract with hb_UnZipFile to same directory

Post by Marc Vanzegbroeck »

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: 1102
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium
Contact:

Re: extract with hb_UnZipFile to same directory

Post by Marc Vanzegbroeck »

Hi,

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

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Post Reply