Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. how to unzip .7z file programmatically?

how to unzip .7z file programmatically?

Scheduled Pinned Locked Moved The Lounge
algorithmstutorialquestion
7 Posts 4 Posters 4 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Southmountain
    wrote on last edited by
    #1

    I have files in .7z format and need to unzip them to do further manipulation. is this .7z format the same as .zip format in algorithm?

    diligent hands rule....

    P 0 J 3 Replies Last reply
    0
    • S Southmountain

      I have files in .7z format and need to unzip them to do further manipulation. is this .7z format the same as .zip format in algorithm?

      diligent hands rule....

      P Offline
      P Offline
      PIEBALDconsult
      wrote on last edited by
      #2

      Maybe not. I happened to find a .7z file on my system today and I see that 7zip reports it as "Method = LZMA2:14". 7zip doesn't report a Method for a zip file I checked. File Explorer can open it, but it's possible it use 7zip to do so. I don't know, but 7zip was one of the first things I installed when I got this system.

      S 1 Reply Last reply
      0
      • S Southmountain

        I have files in .7z format and need to unzip them to do further manipulation. is this .7z format the same as .zip format in algorithm?

        diligent hands rule....

        0 Offline
        0 Offline
        0x01AA
        wrote on last edited by
        #3

        LZMA SDK (Software Development Kit)[^] Article on CP (maybe too old): C# (.NET) Interface for 7-Zip Archive DLLs[^] And in worst case: Call the 7z commandline tool from your application ;)

        P S 2 Replies Last reply
        0
        • 0 0x01AA

          LZMA SDK (Software Development Kit)[^] Article on CP (maybe too old): C# (.NET) Interface for 7-Zip Archive DLLs[^] And in worst case: Call the 7z commandline tool from your application ;)

          P Offline
          P Offline
          PIEBALDconsult
          wrote on last edited by
          #4

          0x01AA wrote:

          Call the 7z commandline tool from your application

          That's what I've done in the past.

          1 Reply Last reply
          0
          • S Southmountain

            I have files in .7z format and need to unzip them to do further manipulation. is this .7z format the same as .zip format in algorithm?

            diligent hands rule....

            J Offline
            J Offline
            Jeremy Falcon
            wrote on last edited by
            #5

            Southmountain wrote:

            is this .7z format the same as .zip format in algorithm?

            Yes, it just zips data up into seven internal zip files inside a single archive. :rolleyes:

            Jeremy Falcon

            1 Reply Last reply
            0
            • 0 0x01AA

              LZMA SDK (Software Development Kit)[^] Article on CP (maybe too old): C# (.NET) Interface for 7-Zip Archive DLLs[^] And in worst case: Call the 7z commandline tool from your application ;)

              S Offline
              S Offline
              Southmountain
              wrote on last edited by
              #6

              thanks a million:rose:

              diligent hands rule....

              1 Reply Last reply
              0
              • P PIEBALDconsult

                Maybe not. I happened to find a .7z file on my system today and I see that 7zip reports it as "Method = LZMA2:14". 7zip doesn't report a Method for a zip file I checked. File Explorer can open it, but it's possible it use 7zip to do so. I don't know, but 7zip was one of the first things I installed when I got this system.

                S Offline
                S Offline
                Southmountain
                wrote on last edited by
                #7

                thanks for the info:rose:

                diligent hands rule....

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups