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
1 answer

Error when trying to create a 7zip file in C# Visual Studio

So I am attempting to code a script in C# VS Studio 2019, where a user inputs which file to encrypt using 7zip and choose their password etc, using string to decide a password and which file to encrypt. It will save to the c:\ drive as…
Keifer Bly
  • 47
  • 1
  • 4
-2
votes
1 answer

using windows batch script to automate unzip task

I have two issues with this code I have attached below, it doesn't delete the original file after unzip, I want the script to delete the original file from source folder the converted file is not saved in target folder as set but it creates a tree…
-2
votes
1 answer

How to check for an encrption for a 7z file?

I need to check a 7z file for encryption. I am using sevenzipjbind and using the property ENCRYPTED, but it seems it involves a lot more steps after that which I am not able to certain.
-2
votes
1 answer

Compression file doc pdf use 7zipsharp?

// This my code compress use 7 zip if (System.IO.Directory.Exists(targetfolder)) { try { …
Rahmat
  • 97
  • 10
-2
votes
1 answer

to check if the password entered by the user is correct in 7zip

I would like to check if the password that was entered by the user for .7z encrypted file is correct (even by boolean yes or no, without compressing). can i do it and how ? if yes - what is the command line ?
Tom Cohen
  • 95
  • 1
  • 2
  • 9
-2
votes
1 answer

Zip files in particular folder using Java

I just wanted a code to 7Z files(only .pdf and .txt files) in a particular folder and place it in same folder. The input I can give is the folder location. Can anyone help in this out? Is it can be done in Java or JavaScript? I am a beginner..Need…
jeja
  • 52
  • 11
-2
votes
1 answer

A portable Git download is supposed to be a 7z.exe?

Probably a stupid/paranoid question, but I don't see a way do a checksum, so I have to ask... should this 7z Git file have an exe extension? It reminds me of one of those stupid malicious download tricks which hopes that the user has "hide known…
User
  • 293
  • 3
  • 19
-2
votes
2 answers

Please explain this batch file command to unzip files

for /r %%I IN (' *.zip ') DO ( "C:\Program Files\7-Zip\7z.exe" x -o"%%~dpnI" "%%I" ) pause Hi, I got this batch command online that unzips files recursively. I would like to understand what the For loop does in this case. I'm asking this question…
-2
votes
1 answer

Automate - Reading zipped sas datasets, Unzip and zip back using 7zip Compression in SAS

We have a requirement to scan the SAS code and then unzip all the input files used in program(data step, proc step, proc sql etc) and zip it back at the end of program using 7z. Does anyone face the same problem? if yes, kindly share the sample…
-2
votes
1 answer

I am trying to generate 7z file using java exec utility but it will creating empty zip file

package com.otp.util; import java.io.FileWriter; import java.io.IOException; import java.text.SimpleDateFormat; import java.util.Date; import com.otp.servlets.MessageServlet; public class CDRWriter { public FileWriter fileWriter = null; …
Pravin
  • 160
  • 6
-2
votes
1 answer

Is it Possible to copy and Zip a file using 7 zip using cmd prompt?

I need to copy of a FILE and zip the same file.
Kishore kumar
  • 81
  • 1
  • 6
-2
votes
1 answer

Batch script doesn't function properly

So this is what I have so far. The problem I'm having is it archives the file to 7zip and when I try to tell it to move this file it says it's not there. I'm not sure if there's an easier way to move, zip, and rename a file and move it again to…
-2
votes
1 answer

C# Code - How to count the amount of files ia .7z

I am searching for a way to open a .7z file and to get the amount/number of zipped content inside there by using C# Code. string[] directoryPaths = Directory.GetDirectories(@"heregoesmypath"); foreach (string dircetory in directoryPaths) { …
-2
votes
2 answers

Registering SevenZipLib

I have "legacy" software in C# which uses SevenZipLib. I have downloaded SevenZipLib, but I dont know how to declare: using SevenZipLib; I have tried adding the reference without any result.
alejandro carnero
  • 1,774
  • 7
  • 27
  • 43
-2
votes
2 answers

SETLOCAL ENABLEDELAYEDEXPANSION , Interrupt SETLOCAL ENABLEDELAYEDEXPANSION, SETLOCAL ENABLEDELAYEDEXPANSION

NOTE:THIS IS NOT A DUPLICATE!! OF "Temporarily interrupt SETLOCAL" i want to be able to SETLOCAL ENABLEDELAYEDEXPANSION then do something, then ENDLOCAL ENABLEDELAYEDEXPANSION do something else (7z command) then SETLOCAL ENABLEDELAYEDEXPANSION once…
user2669763
  • 19
  • 1
  • 3
1 2 3
95
96