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

learn more… | top users | synonyms (1)

6
votes
3answers
343 views

How to prevent 7-Zip encrypted zip file passwords from being stored on the hard-drive?

I've encrypted a folder with 7-Zip 9.20, specifying 256-bit AES and a password, and the .zip file was created. But then, when I clicked on the zipped file, to my surprise, PeaZip 5.1.1, which was the ...
1
vote
0answers
15 views

7-Zip: Opening image from 7z archive produces error code 0x8000000a

I've tried encrypting a folder containing a text file and an image with AES encryption using the .7z format. When I enter the password to open the encrypted folder the two files are displayed. I can ...
1
vote
3answers
1k views

Can I get the black and white 7zip filetype icons back?

I've been using 7-zip for a long time. Any archive that 7-zip recognizes was given a black and white [7z] icon. I just switched from Win7 32 bit to Win7 64 bit, and when I reinstalled 7-zip all of ...
0
votes
1answer
18 views

How do I keep folder integrity when compressing files in different folders

I have a batch file that runs on our dedicated servers every day and compresses the files. Here is a piece of the batch file: %SUBDIR%7z a -tzip %fullname% %datapath%\*.txt >>%LOGFILE% ...
1
vote
1answer
53 views

Batch File for Download + Unzip (.7z) + Delete + Rename

I would like to create a .bat file in order to download and make following operations on 2 files (FILE1-Date.7z & FILE2-Date.7z) whose names are updated with "Date" information everyday. The batch ...
0
votes
0answers
14 views

Odd 7z Extracting Behavior

In short, I would like to use command-line 7z to extract an archive and recreate the directory structure of the archive. I know the function letter for this is "x" yet it does not seem to work for ...
-1
votes
0answers
29 views

Which application adds RAR/7z/ISO/GZIP support to Windows Explorer? [closed]

Is there an application available that is able to add this ability to the Windows Explorer? At the moment those formats aren't supported, but many like to have it. I don't like to use an alternative ...
0
votes
2answers
6k views

7zip Add Operation Not Supported?

When I try to add a new file to a zipped archive, I get the message "Operation not supported." Anyone know how to fix 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 ...
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 ...
1
vote
2answers
2k 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.
0
votes
1answer
21 views

How to rebind select command in 7-zip?

In 7-zip, there's a very useful command Edit -> Select which is bind to Grey + , that is, the numeric keyboard + I'm using a laptop, it is unconvinent to access numeric keyboard key. Is it ...
0
votes
0answers
31 views

How to create a script to intelligently .zip numbered files?

I have a directory with a bunch of files with numbered file names (e.g., 002361). I'd like to write a script to regularly .zip them (or .rar, or .7z) based on their file names AND only update the ...
0
votes
0answers
40 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. ...
-1
votes
0answers
40 views

Manually creating epub file with 7zip on Windows 7

I'm trying to fix an epub for my girlfriend that's not displaying correctly on her kindle. I looked into the process, and I believe I have everything setup correctly, but I'm still getting an error ...
0
votes
1answer
69 views

Is there a way to compress folders individually using 7zip on a large collection of folders?

How can 260 folders be zipped individually using 7zip with a single command? The person who originally asked this question voluntarily deleted the post. Since it was an interesting task, I ...
-2
votes
2answers
52 views

7Zip Zipping up directories

I want to use 7 zip to compress and archive folders but I want it to exclude existing .7z files if they exist and not duplicate them with a .7z.7z ext I found this but it duplicates the already zipped ...
-1
votes
4answers
4k views

7z file manager crashed and left temp files behind

So I did a drag&drop extraction from 7z (windows), which creates temporary files (this was on purpose, as I was extracting to a network share.) Unfortunately, 7z crashed during this process and ...
1
vote
0answers
17 views

How do I pipe 7za output directly to psql?

I have a Postgres database dump in a .7z archive. I can extract it and import it with: 7za e dump.7z dump psql -h localhost db_name < dump but I'm just running out of disk space. What is the ...
1
vote
2answers
309 views

Read x64 registry branch from 7-zip SFX Installer via PowerShell

I want my 7-zip self-extracting archive to run a PowerShell script after it extracts files. To do that, I use method described here: ...
14
votes
5answers
25k views

Extract 7z files with standard linux tools?

I know that you can extract .7z files with 7-zip. Is there another standard linux program that can do this? Maybe one of these tar bzip2 xz gzip I will add that bsdtar can do this, but is not ...
0
votes
2answers
829 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% ...
0
votes
3answers
384 views

How to reduce the size of windows OS Iso file?

I have an Iso file of windows 8.1 pro with December '14 updates. The problem is the file is too big to be burned on a normal 4.7GB DVD , its around 4.8. Now is it possible to remove a few updates so ...
0
votes
0answers
201 views

How to unpack rar archive with p7zip under Centos 7

I'd like to make my 7z command to be able to extract RAR archives. I have installed p7zip and p7zip-plugins packages from EPEL repository. However, if I try to extract a rar file like this: 7z x ...
8
votes
4answers
15k views

add password to existing zip file with 7zip

Is it possible to add a password to an existing zipfile with 7zip without going to all the trouble of unpacking it and re-packing it again?
0
votes
0answers
36 views

How to modify files within mszip (cab) executable?

I can list and extract certain executable contents using 7z. It seems to be using standard compression methods. Path = test.exe Type = Cab Method = MSZip How can I modify files inside that ...
4
votes
4answers
4k views

Recursively unzip files where they reside, then delete the archives

I goofed up a setting on the backup software I use. Normally I would have the files from a network share get loaded into a spare drive, compressed into zip folders, then sent off to the offsite hub. ...
2
votes
2answers
1k views

Convert .tar.gz/.tar.bz2 to .7z in batch?

How do I convert .tar.gz and .tar.bz2 files to .7z files using the command line?
1
vote
0answers
41 views

7zip on command line: can I use both include and exclude switches?

Here's my directory structure (in Windows 8.1): parentdir\ child1\ child2\ grandchild1\ grandchild2\ grandchild3\ ... child3\ child4\ ... Using ...
10
votes
5answers
23k views

Missing Explorer menu options for 7-Zip

Just reinstalling 7-Zip (v.9.2) to a new system, and I cannot find the context-menu option in Explorer. In the 7-Zip options there is no plugins tab (as detailed in the documentation) to change this ...
0
votes
0answers
34 views

Linux equivalent settings for 7zip

I'd like to use the same settings as below (Win7) on Linux to compress files, but I fail to get equal compression results, for which I blame myself not correctly using 7za. So far, I have 7za a ...
9
votes
8answers
28k views

How do I reassemble a zip file that has been emailed in multiple parts?

I received 3 emails each containing part of a zip file. The extensions end in .z00, .z01 and .z02. (Emailed as such to get around the typical 10Mb attachment limit per email.) I have put all 3 files ...
2
votes
4answers
151 views

What other archive formats save Date Created and Date Accessed?

7-Zip on Windows will save the Date Created and Date Accessed when compressing a .zip file, however it does not do this for its (referring to 7-Zip) native .7z format. Any Unix-based formats are ...
5
votes
3answers
5k views

What does the percent sign (% and %%) in a batch file argument mean?

I think I'm missing something because I can't seem to find what this means. Example: for /D %%A in (*) do "\7za.exe" u -t7z -m9=LZMA2 "%%A.7z" "%%A" That line was supposed to use a command line ...
3
votes
1answer
5k views

Extract and overwrite existing files

I am trying to write a batch script to extract files out of an existing zip file, into another folder on my desktop and to have the system not prompt me as to whether I want to overwrite the existing ...
0
votes
2answers
45 views

how to disable 7 zip from opening normal applications folders and files?

So I've been having trouble with my 7 zip on windows xp. I don't know what i did, but suddenly all of my normal folders,applications and files have started opening in 7 zip,even though their not ...
0
votes
1answer
136 views

Extract Java7u60 Server on Windows

I've downloaded the file server-jre-7u60-windows-x64.tar.gz from http://www.oracle.com/technetwork/java/javase/downloads/server-jre7-downloads-1931105.html and am trying to extract it with 7Zip. I ...
9
votes
4answers
14k views

Best Secure Encryption for Zip Files via Linux

I want to use highly secure encryption for zipped files via Linux/Ubuntu using a command line terminal, what is the best command line tool to get this job done? zip -e -P PASSWORD file1 file2 file3 ...
8
votes
3answers
5k 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 ...
4
votes
3answers
157 views

Extract large archive with 7-zip

I have a 76 GB disk image that's split in 28 files (Foo.7z.001 to Foo.7z.028) in "Storage" format and I want to extract it into my D: drive (which has 523 GB available). I've tried all 7-Zip settings: ...
0
votes
5answers
5k views

How can I overwrite an existing file in 7zip?

I'm trying this: 7za.exe a "C:\Disc.7z" "C:\test" -v20000000b -m0=BCJ -bd But if I already have created the file C:\Disc.7z then 7zip doesn't compress anything and sends me this output: System ...
1
vote
1answer
765 views

All of my executables are trying to open via 7zip. How can I put them back to normal? [duplicate]

Possible Duplicate: How do you associate the .exe file extension with a program in Windows? I recently booted my computer and all of the executable files have turned into 7zip icons. A ...
0
votes
0answers
26 views

Fixing the 7-zip COM surrogate issue?

My favorite archiver 7zip is unable to open the pictures in Windows Picture Viewer. The creator Igor Pavlov Says: The Program1 (some photo file handler) calls another Program2 (windows photo viewer) ...
1
vote
1answer
41 views

7z from bash script won't exclude directories

I've encountered with kinda strange behaviour of 7z (or bash, I don't know yet.). With the following script: #!/bin/bash find /home/user -type f -name "*.pdf" | cut -c 10- > ...
1
vote
1answer
155 views

zip file (with spaces in the files name) to unzip and rename files and zip back

I'm trying to rename the contents of a zip file to match the name of the zip file with a batch file. This is exactly what I'm trying to do : ...
0
votes
0answers
137 views

Why does Firefox keep trying to download 7zip_14396_stf.exe and setup_tsv48ouvr.exe

When I start Firefox for the first time, two files try to download, but their download fails. I have searched to find out what these files are. The "7zip" file is from safe downloads, and it looks ...
0
votes
0answers
98 views

Extract and delete all zip and rar files in subfolders + rename if files in archive have same name

i have few thousands rar and zip files in folders and subfolders. I want to extract them, and if there are the same filenames, for example: dir1 -subdir1 archive.zip ...
1
vote
2answers
57 views

7-zip extras for Linux

I want to pack a folder containing various resources and executables into a single self-extracting file and execute a command after that, "setup.exe" for example. I've successfully accomplished that ...
2
votes
1answer
5k views

Identifiying a zip file that is not really a zip file

I have several files that a 3rd party program generated that have a .zip extension, however neither windows nor 7zip can extract it. In 7zip it does show me the file name of the uncompressed file ...
8
votes
3answers
38k views

What settings to use when making 7zip files in order to get maximum compression when compressing PDFs?

What settings to use when making 7zip files in order to get maximum compression? I'm compressing PDF documents containing scanned images. I'm thinking about using LZMA2, but I don't know what to set ...