7-Zip is an open source file compression and archiving application

learn more… | top users | synonyms (1)

1
vote
1answer
3k views

7-Zip: Unsupported Compression Method while trying to extract a zipx file that consists of JPEGs

A zipx file I received consists of .csv files and .jpeg files. I used 7-zip to extract them. While the .csv files were sucessfully extracted, the JPEG files didn't. The error was something like this ...
0
votes
1answer
3k views

Incorrect parameter error when using 7-zip from the command line in Windows

I am running the following command: 7z.exe a -t7z -m9=LZMA2 test.7z test.txt However, I get this error: System error:The parameter is incorrect. The error only occurs if I use the -m9=LZMA2 or ...
1
vote
2answers
3k views

7-zip command line -p switch not working according to help page

I want to be able to automate the encryption of the file type .pcapng in a windows batch script. My current problem is that I get an error when extracting the encrypted file saying something along the ...
1
vote
0answers
26 views

7zip only asks me for a password once when I open an encrypted file

I archived some files on my laptop and encrypted them using 7zip and the first time I tried to open a file, it asks for the password, but after that it never asks for a password... is there a way to ...
3
votes
3answers
6k views

Create 7-Zip SFX executable

I'm playing around with 7-Zip to create a self-extracting archive (SFX) executable. I followed the documentation, but I wasn't able to get any close. I'm using the 7-Zip 32 bit and the 7-Zip extra 32 ...
20
votes
3answers
36k views

Is it possible to execute a file after extraction from a 7-Zip self-extracting archive (SFX) archive?

I'm try to make a compressed deploy-able application. Currently I'm taking a set of files that I've published from my IDE (Visual Studio 2008 - WPF published application) and compressing ...
0
votes
0answers
5 views

Dry run test the final file size of a rar or 7z file via terminal?

Is there a way of seeing the final file size (so I can determine how much space saving) of a zip file, preferably a rar or 7z file. I'm on a mac so ideally I'd like to do it via the Terminal. I've ...
4
votes
2answers
8k views

Unzip .rar from command-line with 7-zip

On windows command-line I can extract archives like this: 7za e somefile.zip I know 7zip supports .rar in the gui but can it be done in commandline mode? Thanks
2
votes
2answers
40 views

How to compress multiple files with similar names?

So I've got some 20 000 files that I want to compress and group by following logic: compress every file that have identical characters up to ( also include files that have no ( So the files are ...
1
vote
1answer
34 views

Is there a tool similar to IEpxress or 7Zip that can pass command line arguments to a dependency [closed]

I recently discovered IExpress and would like to use it to package arbitrary scripts in any language with their respective interpreters/libraries/dependencies. IExpress and 7zip can offer all of that ...
1
vote
1answer
15 views

What 7-zip command line syntax can I use to display errors only when creating a zip?

I do not want all the file names being read to scroll in the command window, but would like only problem files to appear. Better yet, I would like to direct error output to a file. My only alternative ...
0
votes
0answers
44 views

Unzip .gz file in windows batch script using 7zip

I have 7 zip installed on windows machine. I have to extract .gz files into .txt files. I am not able to find a suitable command to do that. I tried below : 7za e ...
1
vote
1answer
39 views

7zip Batch Compression for a specific file extension in different folders

I've already learn how to batch compress my files as-is with 7zip but I have something more complex need on this issue. Maybe I can explain my needs with this scenario; I have a backup folder of my ...
0
votes
0answers
16 views

“recompress” a 7z archive inline

I have a rather large (~500GB) 7-zip archive. I originally made it when I had more space available, and did so at rather fast, low-compression settings. Now things are tight, and I'd like to try and ...
2
votes
1answer
3k views

How to add files to specified folder in archive with 7zip command line

I have folders and files on my disk C:\builds\main.exe D:\components\a\testa.exe D:\components\b\testb.exe D:\components\c\testc.exe D:\dependencies\abc.dll Can I create an archive with 7z command ...
0
votes
1answer
25 views

Decompress files in subfolders to the same subfolder using 7-Zip

I have a set of subfolders with .gz files buried in them. I need to decompress the files and keep the directory structure the same. I have used for /f "usebackq" %i in (`dir *.gz /s/b`) do 7za x %i ...
0
votes
1answer
58 views

7zip command not extracting to specified output directory

7z x d:\migration\mongo\mongodb.7z o:f:\data *.* -r I'm using this command as part of a batch to extract the contents of a 7z file from one drive (D) to another (F). The folder structure is ...
2
votes
1answer
49 views

How to pass parameters in batch file and zip the file using 7z.exe?

I need to create a batch file as per below requirements 1) pass path1 & path2 while running the batch file exl: testrun.bat E:\ERP\test1.txt E:\ERP\header.txt 2) Need to store these command ...
0
votes
1answer
67 views

how to open a zipped folder shown as zip.xml file?

I zipped some folders using winzip on my old laptop and copied to an external drive. The folders contain all types of files including xls, doc, ppt, etc. Now I am trying to open the zipped folders in ...
1
vote
4answers
472 views

Does 7zip compression level affect decompression speed?

I have a directory that I would like to password protect and encrypt. I am using PeaZip to do this using 7zip compression. I'd like to use the 7z like a directory and hard drive space is not a ...
7
votes
2answers
5k views

Symbolic links and 7zip

I'm trying to compress a folder into a .7z archive. This folder contains symbolic links to some other stuff outside the folder (both directories and files). Apparently 7zip just archives the link ...
0
votes
0answers
22 views

Zip epub using 7zip and issue with exlude file

I've many epub as folders need to convert it to .epub compressed so i created bash script to that ..which are compress the epub folder to zip then rename it to .epub using 7-zip btw i was try to use ...
7
votes
6answers
6k views

Is it safe to store my passwords in an encrypted .7z/.zip by 7-zip?

Here is what I do: Type in all kinds of passwords in an excel file (.xlsx) Zip it with a password by 7-zip AES 256 length > 8 combination of A-Z a-z 0-9 symbols different from ...
0
votes
0answers
33 views

7z: How to exclude symbolic links from extraction?

How to ask 7z to exclude extracting symbolic links ? In following file, bad_file and passwd are symbolic links. Is there a way to ask 7z to not extract them or not create them after extraction ? ...
-1
votes
1answer
258 views

How to rename 7-Zip split files as name_00N.zip instead of name.zip.00N

On Windows, when I create .zip split files with volumes less than 20MB with a command like: 7z a name.zip files\* -v20M I get one or more files named name.zip.001, name.zip.002, etc. I need to ...
2
votes
1answer
75 views

7zip - Command Line: how to set output path?

I want to compress all HTM files in D:\HTM\ to an archive called comp.7z which is created in D:\HTM\ directory, so I do the following: 7z a -o "D:\HTM" comp.7z "D:\HTM" and get an error, exactly as ...
1
vote
1answer
46 views

7-zip update: skip operation if nothing has changed

I am using 7-zip to backup folders on my disk into 7z archives on a network storage. Each time the backup script runs, it will update the existing archives in 7-zip update mode (compress new files ...
0
votes
1answer
63 views

How to extract 15GB rar file containing mkv video files

I have a .rar file that contains 15 GB of mkv video files. I am using Windows 7 64 bit and all hard disk partitions are NTFS. There is 500 GB of hard disk space and 4 GB of RAM. I have tried ...
0
votes
3answers
2k views

How can I create a batch job (.bat) that zip a folder?

From 7zip I've downloaded their command line tool 7za.exe, and I have to following script: echo off cls set zip ="C:\7za.exe" set filename="%date%.backup.zip" set pathtobackup="C:\MyDocs" %zip% ...
-1
votes
1answer
38 views

How can compressed archives like .RAR be repaired?

I'm interested to know how WinRAR and 7-zip repairs archives but unfortunately I couldn't find any description about this process.So I'm here to ask: How does WinRAR or 7-zip repairing process work? ...
1
vote
1answer
40 views

How to 7zip multiple folders in to one 7z package?

Let's say there are 3 folders: /a/1 /b/1 /c/1 And any of the folders may contain sub folders like /a/1/x /b/1/y ... How to compress /a/1 /b/1 /c/1 folder with files and sub folders into same one ...
8
votes
4answers
6k views

How can I control the order of files in a ZIP archive?

There are times when it is necessary for the files in a ZIP archive to be in a specific order (for example, I'm currently creating EPUBs, which require that the first entry in the ZIP be the mimetype ...
3
votes
3answers
1k views

Automatically extract and rename extracted file according to archive's name

I have a bunch of zip files in a folder. Each zip file has a file in it named exp_1.txt. I would like to unzip each zip file and rename the extracted file from each zip file to what the zip file was ...
0
votes
2answers
41 views

How to create a zip file with files in FAT format on Linux

I have to create a zip file (with no compression). I want the files in the zip to be in FAT format. That is, If i use zipinfo command, I should get the following: ... -rw-a-- 2.0 fat ...
6
votes
1answer
3k views

7-zip files on Linux with AES-256 encryption

I have a requirement to zip up some files in Linux with 7zip using AES-256 encryption. The end user will be opening in Windows with 7zip. I'm using the following command: 7za a myfile.zip test.txt ...
0
votes
0answers
35 views

How do I decrypt seczip AES256-encrypted files using 7-Zip?

Using 7za on SLES 11, how do I decrypt AES256 files? I have created these files on a mainframe using “seczip” with password protection and AES256 encryption. I want to decrypt them on an SLES 11 ...
1
vote
1answer
37 views

7zip not allowing file extension in the archive name

7za.exe a C:\temp\file.txt.7z C:\temp\file.txt Error: there is no such archive why is 7zip not allowing file extension in the archive name? I even tried it with simple period in the archive name, ...
0
votes
0answers
29 views

Set maximum size of zip/7z archive

I have multiple files that I would like to pack into archives of no more than 100MB. The only option I could find was to split the archive into volumes, but what I want is standalone archives that can ...
0
votes
1answer
90 views

All zip files downloaded as 7zip

Ever since I downloaded 7zip, and even after I uninstalled it, is that all my zip files are downloaded as 7z files. How in the world can I stop this?! I have been looking for answers for about a month ...
2
votes
0answers
33 views

Why does 7-Zip's compression speed lower over time?

I'm busy backing up my local server files, which amounts to just under 4GB of data in ~295000 files. I selected 7z as the format, and set the level to Store. The process started pretty quickly, but ...
1
vote
2answers
3k views

How do I add files from a directory to a .zip-File using the 7zip command line?

I am using the 7zip command line to zip-up files. How can I add all files and subdirectorys from a folder to a zip file (.jar archive file)? I used: 7zip.exe a -t7z file.zip C:\folder Thank you.
3
votes
4answers
6k views

How to search the content of 7-Zip archives (.7z)?

I am looking for a way to search the content of files inside of a 7-Zip archive (.7z) without having to unpack the archive. I have many 7-Zip archives with code inside them and I'd like to search ...
0
votes
1answer
174 views

How can I have a custom 7Zip batch script work like the “add to archive…” context menu action of 7Zip?

I am trying to figure out a way to select several files and folders in Windows Explorer and add them to a password protected .zip archive using a batch script, 7zip and a custom context menu item. ...
2
votes
4answers
948 views

How resilient is the .7z file format?

I'm intended to package up quite a lot of data in to archives so that I can store them using an on-line file storage service and to various local backups - the intention being that this will be fairly ...
4
votes
3answers
9k views

What is encryption loss when unzipping?

When I drag files from a .ZIP file my friend sent me, it barks: Do you want to copy this folder without encryption?` A problem is preventing that folder from being encrypted. What's ...
0
votes
0answers
76 views

how unpack rar file?

i try unpack rar file: http://fias.nalog.ru/Public/Downloads/20150309/fias_dbf.rar (4+ gb), but get errors from every methods. i try unpack with unrar-free package, my command: unrar-free x ...
0
votes
1answer
60 views

7zip file splitting “DVD” setting too big for a DVD

I'm using 7Zip to split some large files so that I can copy them onto DVDs. I've done this before, using 7-zip's "Split to volumes" feature, and using the "DVD" size. This is creating files that are ...
0
votes
2answers
83 views

Remove particularly tricky items from context menu

I've found various sources of info about removing these annoying things which I never use... but I haven't succeeded in getting rid of the following. (Avira-related:) - Scan selected files with ...
8
votes
4answers
14k views

7-zip & Windows 7: Make “Extract to <folder>” default on double-click

I'm trying to find a way to make the action you can perform from the context menu, "Extract to <folder_same_as_file_name>" the default action when double-clicking the file instead of simply ...
0
votes
0answers
25 views

Using 7zS.sfx - Any way to force uninstall of all versions (current or previous)

Here's my situation: I am building an application using a setup and deployment project in VS 2010 and packaging it into a self-extracting executable using 7zS.sfx. Generally, my users like to execute ...