Delete one file from archive

  • Fish

    Fish - 2011-05-18


       I am using 7zip C++ for developping my project. I have two question.

       1. How to extract just one file from the archive ?

       does it works if i use archive->(Extract)(const UInt32* indices, UInt32 numItems, Int32 testMode, IArchiveExtractCallback *extractCallback) 

        2.  how to delete some of the files in archive?

    Autre thing i want to know there is a 7zr.exe in LZMA SDK.  It contains most of the functions in 7zip, where can i find the source code of this file. Or any exemples of using the functions such as delete a file, add a file in archive….etc

    Thank u for your help

  • Igor Pavlov

    Igor Pavlov - 2011-05-19

    1. Yes
    2. Example code:

  • Majid

    Majid - 2014-03-02

    Did u can extract one file from archives ? can you help me with a sample code for di it ???



Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks