Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Object-Pascal / Delphi-Language (https://www.delphipraxis.net/32-object-pascal-delphi-language/)
-   -   Delphi Decompress Nested Archives (https://www.delphipraxis.net/127711-decompress-nested-archives.html)

mohfa 17. Jan 2009 20:31


Decompress Nested Archives
 
Liste der Anhänge anzeigen (Anzahl: 1)
Hi , i want like , and hope someone helps me :
i'm using the WINRAR DLL in one of my project to be able to decompress the archives , but what i want is :
how could i decompress the nested archive i mean the Archive that stores other archives like this :

Archive_1
|_Archive_1_1
|_archive_1_1_1
|_archive_2_1_1
........

it can be other archives


i included the Unrar developer DLL and a simple of an archive

mr_emre_d 17. Jan 2009 22:31

Re: Decompress Nested Archives
 
Simply try to decompress each file that is a archive file recursivly

Code:
function decompress --> given attributes: filename
o decompress file
o check the type of each file that has been decompressed
o if it is ".rar" or whatever so call the function decompress with this filename

mohfa 17. Jan 2009 22:43

Re: Decompress Nested Archives
 
Thank you mr_emre_d , could i've a simple code for that please ?

thank you again .

mr_emre_d 17. Jan 2009 23:37

Re: Decompress Nested Archives
 
i dunno how this unrar thingy works

try it yourself, maybe you will be successful

and if you stuck somewhere, post in the code and maybe i will help you

Wfg (ist das Gegenstück zu MfG :P:P)


Alle Zeitangaben in WEZ +1. Es ist jetzt 02:48 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz