FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour extract with hb_UnZipFile to same directory
Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
extract with hb_UnZipFile to same directory
Posted: Mon Dec 16, 2019 01: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
Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
Re: extract with hb_UnZipFile to same directory
Posted: Mon Dec 16, 2019 02:40 PM

Hi,

Just found it. With the lWithPath parameter.

Regards,

Marc



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

Continue the discussion