Questions tagged [7zip]

"7z" or "7-Zip" may refer either to the open-source 7z compression container format or to the file name of the executable program of the same name that is the flagship implementation of the compression format. Both are GPL-licensed and under active development.

"7z" or "7-Zip" may refer either to the open-source 7z compression container format or to the file name of the executable program of the same name that is the flagship implementation of the compression format. Both are GPL-licensed and under active development.

The 7z format is a compressed archive file format that supports several different data compression, encryption and pre-processing algorithms. The LZMA SDK 4.62 was placed in the public domain in December 2008. The latest stable version of 7-Zip and LZMA SDK is version 18.05. The MIME type of 7z is application/x-7z-compressed.

The 7-Zip program is an open source file archiver. 7-Zip operates with the 7z archive format, but can read and write several other archive formats. The program can be used from a command line interface, graphical user interface, or with Microsoft Windows shell integration. 7-Zip's development began in 1999, and it is actively developed by Igor Pavlov. It is related to a cross-platform port, p7zip. 7-Zip is free software distributed under the GNU Lesser General Public License (LGPL). It was the winner of the SourceForge.net 2007 community choice awards for "Technical Design" and for "Best Project".

7z has an open architecture, so it can support any new compression methods. Now the following methods are integrated to 7z:

  1. LZMA: Improved and optimized version of LZ77 algorithm
  2. LZMA2: Improved version of LZMA
  3. PPMD: Dmitry Shkarin's PPMdH with small changes
  4. BCJ: Converter for 32-bit x86 executables
  5. BCJ2: Converter for 32-bit x86 executables
  6. BZip2: Standard BWT algorithm
  7. Deflate: Standard LZ77-based algorithm
1441 questions
-2
votes
3 answers

How to read large text files - java

I am making a game, but to install it, it requires 7zip to unpack the files, so I have included the 7zip installer. I have created a JFrame with a JTextArea in it to input the 7zip icense, but I cant get BufferedReader to read the whole txt file…
-3
votes
1 answer

In a Batch file, how do I get the folder name, instead of the entire directory?

I have a batch file that I use to 7zip files with specific settings, that automatically reduces the settings if the PC runs out of memory or fails for some reason. I drag a folder onto the batch file, and it will create an archive, in the root…
DR4GON
  • 1
  • 1
-3
votes
1 answer

Password protected Zip File only works with a specific library

I am working with a zip file that is password protected. I've got the password and am able to extract the contents only when I use a C++ zip library called minizip-ng, which appears to be the library that was used to create the zip. When I try to…
gurrenm3
  • 170
  • 1
  • 9
-3
votes
1 answer

Powershell Script to unzip password protected archives

There are many different ways, that promise, that it should be possible to unzip a password protected 7zip file, but neither of these did work by my. So I ask again is somebody can help me? I have a text file containing a lot of possibles password…
Dennis Kassel
  • 2,726
  • 4
  • 19
  • 30
-3
votes
2 answers

Search inside multiple compressed files using 7zip and batch files and if result found, do soemthing

I am trying to search inside multiple zip files for a specific filename if filename is NOT found, move said zip file to another folder Do the search without extracting the content Use batch and 7zip to achieve these results. for %%f in (*.zip) do…
SuperMar1o
  • 670
  • 8
  • 23
-3
votes
1 answer

.BAT don't extract the file but cmd-line do

I created the file extract.bat with the code: @echo off 7z x "f:\Downloads\*.zip" –o"f:\Downloads" 7z x "f:\Downloads\*.rar" –o"f:\Downloads" 7z x "f:\Downloads\*.7z" –o"f:\Downloads" pause If I open the cmd and run the code: 7z x…
-3
votes
1 answer

7zip command line update command not working

I have a simple command in batch to update a single exe in a sfx pack I made (using sfx maker, third party) . There are a few sfx'that need the same file updating to new version / or older, if having to roll back. It's the same file in all. A 99 mb…
Tika9o9
  • 405
  • 4
  • 22
-3
votes
1 answer

7-Zip API abort progress

I'm using d7zip for my project, everything worked very well as check list, compression, decompression, progress bar... But I do not know how to abort compression or decompression. I checked the source code LZMA SDK but did not find…
nguyentu
  • 45
  • 3
  • 8
-3
votes
1 answer

7z questions and such

I am wanting to learn the ropes with 7z. This isn't working...I followed 7z --help: 7z x -r beans.7z personal.php I want to make a .7z file called "beans.7z" and what contains the file "personal.php" The error I get is: Error: there is no such…
-4
votes
2 answers

How do I unzip files en masse but skip and log errors

I have a folder of about 3000 zip files I need to extract them into sub-folders named for the name of the file (extract here behaviour). I am using 7-Zip. My problem is that some of these files are password protected and some are corrupt. I need to…
iainc
  • 862
  • 6
  • 20
-4
votes
1 answer

How to use 7z from the python scripts

I have following syntax in my python script. x = Popen("\"C:/Program Files/7-zip/7z\" a -tzip " + new_file + " general/*") Can anyone please explain the meaning of this syntax? From some forums, I am explaining my understanding. First the 7z…
-4
votes
1 answer

Python: How to convert .7z to .rar or .zip?

How can I convert a .7z file to a .rar or a .zip file using Python?
das
  • 63
  • 1
  • 8
-4
votes
1 answer

BrowseForfolder command not working

;!@Install@!UTF-8! BrowseForfolder="Yes" RunProgram="Patch.bat" DeleteTempFiles="No" ;!@InstallEnd@! the above code exist in my config.txt file .BrowseForfolder command is not working when i try to run my exe file.(i means the window dialog not…
John Sk
  • 107
  • 1
  • 2
  • 10
-4
votes
1 answer

Java: unzip 7-zip archive

How can I unzip 7-zip and tar archives in Java? Without cmd commands. I tried to use Zip4j but it can unzip only Zip. And I need 7z and tar. What library (not heavy) can I use? Or how can it be done with native Java-library? Thank you.
toto
  • 91
  • 2
  • 2
  • 4
-5
votes
1 answer

C#: Large File Compression

we have large files with the size ranging from 800 MB to 900 MB. Currently i am using SharpZipLib Library which takes more time to compress and has very less compression ratio. Please Suggest me some of the libraries which will support high…
sampat nayak
  • 123
  • 2
  • 12
1 2 3
95
96