FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How to unzip files. RAR
Posts: 1067
Joined: Wed Nov 09, 2005 02:17 AM
How to unzip files. RAR
Posted: Tue Feb 15, 2011 03:22 PM

Hi,

I need to get the list of files contained in a .RAR file, and unpack some. How?

Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
Posts: 103
Joined: Sat Oct 18, 2008 08:13 PM
Re: How to unzip files. RAR
Posted: Tue Feb 15, 2011 03:26 PM
Hi Vilian,

Here at RARLAB you find unrar.dll, a UnRAR dynamic library for Windows software developers. Maybe with this dll file it will be possible.
Best Regards,

Ruediger Alich



---

HMG 3.1.3 | FTDN/FWH 13.12 | Harbour 3.2 | BCC/MinGW | Windows XP/Vista/7/8/10 (32/64-Bit), Wine (Linux/Mac) - started 1999 with FW, 1989 with Clipper
Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
Re: How to unzip files. RAR
Posted: Tue Feb 15, 2011 03:46 PM

7z can also unzip rar files

worth give it a try

Hth

Richard

http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
Posts: 1067
Joined: Wed Nov 09, 2005 02:17 AM
Re: How to unzip files. RAR
Posted: Tue Feb 15, 2011 04:21 PM
Thanks,

In http://www.fivewin.com.br/exibedicas.asp?id=1046 i find how to unzip files using UnRar.dll.

But I could not identify how can obtain list of files contained in the file. Rar

Can you help -me ?
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
Posts: 103
Joined: Sat Oct 18, 2008 08:13 PM
Re: How to unzip files. RAR
Posted: Tue Feb 15, 2011 04:28 PM
vilian wrote:But I could not identify how can obtain list of files contained in the file.


Maybe this helps: unRAR.dll Manual - Exported functions
Best Regards,

Ruediger Alich



---

HMG 3.1.3 | FTDN/FWH 13.12 | Harbour 3.2 | BCC/MinGW | Windows XP/Vista/7/8/10 (32/64-Bit), Wine (Linux/Mac) - started 1999 with FW, 1989 with Clipper
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: How to unzip files. RAR
Posted: Thu Feb 17, 2011 05:02 PM

Vilian,

>I need to get the list of files contained in a .RAR file, and unpack some. How?

Do you mean from within a FW program or just using a RAR utility program?

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
Re: How to unzip files. RAR
Posted: Thu Feb 17, 2011 05:09 PM

Vilian

7z has this feature

7z l yourarchive.rar

you can redirect to a txt file and read the file afterwards

7z has a command line utility , easy to use

Hth

Richard

http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013

Continue the discussion