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

learn more… | top users | synonyms (1)

0
votes
0answers
12 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 ...
1
vote
0answers
44 views

Windows .bat script to recursively archive (with 7zip) files in subfolders

I'm struggling to achieve the following DIR1 FileA FileB SUBDIR2 --->FileC --->FileD --->SUBDIR3 ------>FileE ------>FileF etc and end up ...
0
votes
1answer
21 views

7zip reports corrupt file although checksum matches

I transferred a large (140GB) disk image to my machine over ftp in 7z format using 4Gb chunks. When I had downloaded it, none of the chunks can be opened using 7zip. On the first file, I get an ...
0
votes
1answer
21 views

shortcuts opening as 7zip files [duplicate]

My brother tried to open a .lnk file with 7zip and now every shortcut tries to open in 7zip, how do i undo this or fix this? I genuinely have no idea what to do or where to start and no one else ...
2
votes
1answer
59 views

How do I zip a bunch of files with the same name with their paths?

I have many files with the same name in many folders throughout a project on a Windows PC. There are hundreds of thousands of source files in thousands of folders. They need to be sent out for ...
1
vote
2answers
47 views

Unpacking .z01 .z02 .z03 without .zip on LINUX

I have received several archives and they all have extensions of .z01 .z02 .z03 etc. There is no .zip file and no .z00 file. If I transfer these files to my Mac and run them through un-stuffit, it ...
1
vote
1answer
70 views

How to change Windows 7 zip icon

I have a strange problem with 7zip and default icons in windows-explorer for file-type *.zip. I know that setting and replacing icons for 7zip has already been thoroughly discussed on the net. I have ...
0
votes
0answers
32 views

Things that affect compression of files [closed]

I want to know all the things (or conditions) which affect the compression :) So far I only know about the following things: Free Memory (RAM Usage) Compression methods Archive format (or ...
1
vote
1answer
39 views

Zipping Sub-folders

I want to use 7-Zip to zip subfolders to another folder on the same drive. Each sub-folder has zillions of text files. I just want to zip subfolder as a whole via Powershell. I have a script but ...
3
votes
2answers
44 views

Create a .zip file that can be opened by PKZIP 2.50 with 7-zip

I need to create a .zip file that can be unzipped by a very old version of PKZIP - version 2.50. I am currently using 7-zip to try this, but I can use a different zip program so long as it has a CLI. ...
0
votes
1answer
27 views

Dragging a folder full of files into another folder which automatically zips and moves it to an archive drive

I have a question regarding archiving on windows 7 and I will preface it with the problem in an effort to identify what solution I need. Our workflow process dumps printable files to a numbered ...
1
vote
0answers
33 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 ...
8
votes
3answers
541 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 ...
0
votes
1answer
31 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
101 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
18 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 ...
0
votes
1answer
24 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
33 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
74 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. ...
0
votes
1answer
88 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
25 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 ...
-2
votes
2answers
57 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 ...
0
votes
3answers
717 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
273 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 ...
0
votes
0answers
65 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 ...
1
vote
0answers
50 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 ...
0
votes
0answers
38 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 ...
0
votes
2answers
57 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 ...
4
votes
3answers
174 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
0answers
27 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
48 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- > ...
0
votes
0answers
186 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 ...
1
vote
1answer
187 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
121 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
68 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 ...
-1
votes
1answer
192 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 ...
1
vote
1answer
2k 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
0answers
66 views

What switches can be used to install 7zip?

I'm looking for a comprehensive list of switches 7zip will accept when installing. The 7zip FAQ only seems to list silent switches: How can I install 7-Zip in silent mode? For exe installer: ...
7
votes
2answers
418 views

What does combining compression methods in 7z actually do?

The 7z command-line tool lets you specify multiple compression methods, e.g.: # 7-zip archive type, strongest (9) compression, methods PPMd, BCJ2, LZMA2 $ 7z a -t7z -mx=9 -m0=PPMd -m1=BCJ2 -m2=LZMA2 ...
2
votes
3answers
383 views

bat file behaves differently when run from windows scheduler

I have a .bat file S:\BACKUP_db\copytofileserver.bat, which takes some files and zip them to the network drive. Its first command is to delete the old backup at specific network path, then pack the ...
0
votes
0answers
69 views

Have a self extract archive extract to specific folder

How can I create a self extracting archive that will extract the contents into a specific folder? Any program or method is acceptable on windows.
-1
votes
1answer
116 views

What 7zip settings to compress very large partition image?

I have 77 GB big partition backup image in single file and I'd like to compress it quickly. It should compress very well even on worst settings, but choosing GZIP with "Fastest" setting takes about ~1 ...
1
vote
1answer
59 views

Compress / Zip a folder periodically but use minimal CPU?

Similar to this question except, I need it to run with minimal CPU on the background? Also, if there's a 7zip solution that will be nice.
1
vote
0answers
36 views

Possible to make a switchless install from a password protected archive?

I am using 7-zip to make a switchless install (method for doing so here and here). I would like to use a password protected archive to make said install to help prevent the average user from simply ...
0
votes
2answers
315 views

How can I achieve the maximum zip compression? [closed]

I would like to make a "standard" zip file which contain .jpg images. Which software and switches / options should I use to achieve the maximum compression ratio? I mean maybe I can make a solid ...
0
votes
1answer
150 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 ...
0
votes
1answer
1k views

7z in batch file with variables “Incorrect command line”

I'm trying to run the following batch file: set HH=%time:~0,2% set HH=%HH: =0% IF %time:~0,2% GTR 5 ( IF %time:~0,2% LSS 21 ( FOR /F "TOKENS=1 DELIMS=:" %%A IN ('TIME/T') DO SET HH=%%A XCOPY ...
0
votes
0answers
24 views

Why would my zipped file be the same size as the uncompressed files? [duplicate]

I am trying to zip 13 mp4s. The uncompressed versions of those files are 2.69GB. But when I zip them with 7zip, using Ultra compression level and any of the compression methods - including LZMA, the ...
2
votes
0answers
52 views

Is it possible to make 7-Zip also extract all the other files when double clicking an exe?

With Winrar, when I double click an exe file in an archive, it also extracts all the other files in the archive, which is really handy for when the program depends on the other included files. I want ...
0
votes
1answer
850 views

How to compress 14 GB of csv files with 7zip (minimizing space)?

I have to compress 14 GB of csv files with 7zip. What options should I use to achieve the highest compression? I have tried Ultra Level with both LZMA and PPMd compression method, obtaining results ...