7-Zip is a file compression archiving program

learn more… | top users | synonyms (1)

0
votes
2answers
28 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
4k 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
35k 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 ...
1
vote
3answers
817 views

“can't find specified sfx module” when trying to create self extracting file with 7zip

I am trying to create a self extracting file for Windows from Ubuntu 10.04 using 7zip. I tried these commands: 7zr -sfx7z.sfx a output.exe *.txt 7zr -sfx/usr/local/etc/7z.sfx a output.exe *.txt ...
1
vote
1answer
5k views

How to extract all zip files in subfolders using 7-zip in Windows 7

I have a large Windows 7 folder tree structure containing many zip files. These are single layer zip files (not zip within zip). What 7-zip command can I use to parse through this folder structure, ...
-1
votes
1answer
33 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
2answers
5k views

Extract a certain file from an archive with 7-Zip from the command line

If I have an archive, for example, some.zip that contains one or more files, how can I extract only one file (I know the name of the file) with 7-Zip from the command line in Windows?
1
vote
2answers
2k views

7zip: Add files to new folder in archive via command line?

I am using 7zip for compressing a bunch of files. The files are in a directory structure, like this: MyDir\File1 MyDir\File2 MyDir\File3 MyDir\MoreFiles\File4 MyDir\MoreFiles\File5 I want to ...
43
votes
4answers
107k views

How to split large file on Windows?

Is there a tool to split large text file (9Gb) into smaller files so that I can open it and look through? Anything usable from command line that comes with Windows (XP)? Or what's the best way to ...
0
votes
1answer
464 views

How do I zip a folder with 7-zip but not subfolders of that folder?

For instance, if I wanted to zip everything in My Documents, but not subfolders in My Documents, and I also did not know the name of each subfolder.
2
votes
1answer
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.
6
votes
2answers
6k views

7 zip extract recursively

I have several folders, and within each folder, there are zip files. I want to run a command line order to recursively go through every folder and extract in place every archived file that it finds, ...
0
votes
1answer
2k 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
4k views

How do I create seperate 7z files from each selected directory with 7zip command line?

FOR %i IN (*.*) DO 7z.exe a "%~ni.7z" "%i" Does the job for each selected file. However I've got tons of directories (with files inside them obviously) I need to pack. Say I have d:\dir1, d:\dir2, ...
6
votes
2answers
138 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 ...
1
vote
2answers
132 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 ...
1
vote
1answer
58 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
34 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: ...
1
vote
1answer
31 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.
5
votes
2answers
2k views

If I compress a file in a .7z archive with password, is it undecryptable without password?

I'm just curious to know whether or not an encrypted file is really save in terms of decrypting if I compress (or just save) a file into a .7z archive with a password. If I use a strong and ...
0
votes
0answers
18 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
46 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 ...
0
votes
1answer
100 views

Can decompress RAR files with 7z.exe command line?

Can extract RAR files from the terminal with 7z.exe? Thanks! This lines doesn´t works on a Extract.bat file. 7z.exe X Xbox.rar -o
1
vote
1answer
73 views

How to unzip a zip file to a folder but avoid duplicate folders?

I think you all know that: you're getting a zip file and you don't know whether it contains all files in a folder or only the files. In order to not get a messed up directory, I never use "Extract ...
34
votes
5answers
3k views

Why is a 7zipped file larger than the raw file? [duplicate]

Possible Duplicate: Why doesn't ZIP Compression compress anything? I tried 7zipping an .exe file but it actually became larger. Is this the expected result?
1
vote
1answer
711 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 ...
7
votes
3answers
3k views

How to disable the output of 7-Zip?

I use 7-Zip to compress files inside a batch file like this: ...\right_path\7z a output_file_name.zip file_to_be_compressed I got the following output: 7-Zip 4.65 Copyright (c) 1999-2009 Igor ...
2
votes
2answers
4k 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 ...
3
votes
2answers
5k views

Extracting .exe executables and back again using 7-Zip?

I figured out, by accident, that I can extract .exe executables (what for?). Though the files make no sense whatsoever, how do I put those extracted files back into an .exe executable?
0
votes
1answer
2k views

Unpack NSIS executable

I am trying to decompress a NSIS executable. With the GUI version of 7zip I am able to do this and the exe is listed as: Type = Nsis Method = LZMA:25 Solid = + With the command line version 7za I ...
1
vote
0answers
19 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
73 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 ...
2
votes
4answers
4k views

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

I am looking for a way to search the content of files inside of 7z archive without having to unpack the archive. I have many 7z archives with code inside them and I'd like to search them. Is there a ...
5
votes
3answers
11k 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 ...
28
votes
4answers
11k views

What is the reason for 7-zip / WinRAR to first unzip files to “temp” and then move them to destination?

What is the reason for 7-zip / WinRAR to first unzip files to "temp" and then move them to destination? I do not see any advantage against just directly unzipping to destination. It is really ...
0
votes
0answers
54 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
13k 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 ...
4
votes
3answers
9k views

How do I create separate zip files for each selected file/directory in 7zip?

This is the internal zip packer from Total Commander: However I want to use my 7zip packer. When I select 5 files, I get 5 separate .zip archives for each selected file. How do I do that in 7zip?
0
votes
0answers
15 views

7ZSFX Modified link creation error

Hi, I have been using the modified 7zsfx for a while (http://www.7zsfx.info/en/) now and have come across a problem I am re-compressing some of my old dos games and running them using dosbox. I have a ...
2
votes
2answers
983 views

Creating .xz with 7-Zip, claims insufficient memory (not true)

In WinXP 32bit with a Core i5 (dual core) and 4GB RAM, I'm trying to create an .xz archive from a 266MB log file using 7-Zip (GUI) on the "ultra" compression level (method: LZMA2, dictionary size: ...
0
votes
1answer
269 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 ...
1
vote
2answers
136 views

How to open corrupted 7z password protected file

I have encrypted a file using 7-Zip. When I try to open it, it is giving an error message of Cannot open file "<File/Directory location>" as archive I have saved my password and password is ...
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
35 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
200 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 ...
0
votes
1answer
53 views

7-zip -v switch will fail to use cpu properly?

I have been using this script for years, back from when above 2 cores was a challenge in 7z and I had just offered myself a shiny i7: "C:\Program Files\7-Zip\7z.exe" u -m5=lzma2 -mmt=8 %1.7z %1 ...
2
votes
1answer
46 views

Increase number of items in 7Zip Extract to menu

I was curious on how to expand the number of recent items in 7Zip's "Extract files..." menu to include more recent items in the "Extract to" field. Right now, the "Extract to" field only remembers the ...
13
votes
5answers
22k 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 ...
1
vote
1answer
28 views

Extracted files not recognized

I extracted a tar.gz file with 7-Zip. It worked fine, all the files and folders are now visible and have names, different size and so on, yet I cannot open them. And the icons are all the same - a ...