How to unzip files. RAR

How to unzip files. RAR

Postby vilian » Tue Feb 15, 2011 3: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
User avatar
vilian
 
Posts: 975
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil

Re: How to unzip files. RAR

Postby IBTC » Tue Feb 15, 2011 3: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
User avatar
IBTC
 
Posts: 103
Joined: Sat Oct 18, 2008 8:13 pm
Location: Stuttgart, Germany

Re: How to unzip files. RAR

Postby Richard Chidiak » Tue Feb 15, 2011 3: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
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Re: How to unzip files. RAR

Postby vilian » Tue Feb 15, 2011 4: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
User avatar
vilian
 
Posts: 975
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil

Re: How to unzip files. RAR

Postby IBTC » Tue Feb 15, 2011 4: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
User avatar
IBTC
 
Posts: 103
Joined: Sat Oct 18, 2008 8:13 pm
Location: Stuttgart, Germany

Re: How to unzip files. RAR

Postby James Bott » Thu Feb 17, 2011 5: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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: How to unzip files. RAR

Postby Richard Chidiak » Thu Feb 17, 2011 5: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
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 86 guests