7-Zip is a file compression archiving program

learn more… | top users | synonyms (1)

0
votes
0answers
15 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.
-2
votes
1answer
30 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
21 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
13 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
54 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
0answers
47 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
0answers
13 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 ...
0
votes
1answer
127 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
31 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
119 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
43 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
44 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 ...
1
vote
1answer
27 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 ...
0
votes
0answers
29 views

Sequential Compression of [Text] Files (7zip and Windows)

This is with Windows 7. I have an iterative process, and on each iteration it produces a text file. What I want to do is compress this text file on each iteration to an archive. I'm using vb.net and ...
0
votes
1answer
44 views

7z a folder in chunks of 100MB and decompress

I am trying to 7z a folder (in chunks of 100MB) and add it to archive in Linux. Is the following command correct? tar cf - dir/ | 7z a -v100m -si dir.tar.7z How can I decompress the folder? I have ...
0
votes
1answer
73 views

Cannot unzip with zip command line

I am having difficult unpacking a zip to a specific directory. I am trying to get all contents of subdirectory of the zipped file and not the parent directory. This is parent directory within zip ...
0
votes
1answer
34 views

Move data with compression

I'm using win 7.I have disk ~2Tb which one I want to format so I need to move data from it to other disk, but the problem is that I have not another 2Tb disk and I think I can compress data(on the ...
0
votes
1answer
42 views

7z commandline: test archive and only show failures?

What is the easiest way to get only the failures from 7z when testing an archive for integrity? Looking at the command-line options, there seems to be no verbose or non-verbose option (i.e. there ...
1
vote
1answer
137 views

7-zip -xr!*.bat is creating an empty archive with the batch files name

I am trying to exclude files from a 7-zip batch. The syntax is: for %%A in (*) do "C:\Program Files\7-Zip\7z.exe" a -tzip -xr!*.docx "%%A.zip" "%%A" -xr!*.bat The command is creating zip files ...
2
votes
1answer
310 views

7zip - self-extracting executables require admin privileges and trigger compatibility warning

When I create self-extracting archive executables for Windows with 7zip, the .EXEs trigger UAC on Windows7. And frequently after unzipping, I get this: I'm using commandline like: 7z a -sfx7z.sfx ...
0
votes
1answer
89 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
vote
3answers
151 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 ...
0
votes
1answer
65 views

7zip, Extract to a folder as default in the GUI

I am using 7zip for the first time coming over from WinRAR but its missing an important feature for me. I want to be able to extract my files to a folder like so: C:/Downloads/file.zip press extract ...
4
votes
2answers
99 views

How can I specify the order files should be compressed in 7zip?

I have a set of files I would like to compress that I know to be repetitive and compressible, but 7zip chooses a non-optimal order to compress the files and fails to take advantage of their ...
2
votes
1answer
643 views

Command line 7Zip to extract file by specified result path

Is it possible to make 7Zip extract one file by name from archive to specified full path (including new filename)? I've found only: 7zip e <archive> -o<resultDirectory> <filemask> ...
1
vote
2answers
118 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 ...
1
vote
1answer
99 views

Command line 7Zip to create archive without extension

If I specify full extensionless result path 7zip adds one corresponding to the type of created archive. How can I make it name the result file exactly as I have specified in command line argument?
0
votes
0answers
96 views

Can't extract really long file name with 7-zip

I have scoured this page which seems to be the only info I can find on extracting really long file names. Although the examples in this page deal with compressing, I would think the same principles ...
1
vote
1answer
177 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: ...
0
votes
1answer
569 views

7-zip backup folders, exclude some of folders but keep excluded folder's name

By using 7-zip in Linux I need to save zip file to absolute path: /var/www/vhosts/mysite.com/httpdocs/app/webroot/myfiles.7z backup all files and subfolders inside this: ...
1
vote
2answers
85 views

7zip: Extract archive(s) which take up >= 50% of HDD

How can you use 7zip to extract a collection of .rar files which if extracted normally would surpass the size of your HDD? Say your HDD was 10GB, if you had a zip archive of 5GB, how could you ...
0
votes
1answer
462 views

How to show extraction progress of 7zip inside cmd?

7z.exe do not show any extraction progress in cmd."C:\Program Files\7-Zip\7zG.exe" -y x -pPASSWORD "D:\Myfile.rar" Extracts the file with a GUI progress-bar. But I don't want a GUI progress bar. I ...
1
vote
0answers
42 views

How to hide error dialog box in 7zip?

I am using "C:\Program Files\7-Zip\7zG.exe" -y x -pmypassword "D:\Myfile.rar" -o"D:\Extracted Files\" for extracting a file encrypted with password. Now if 'mypassword' is not the correct password ...
1
vote
1answer
69 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 ...
1
vote
1answer
621 views

Why a “Not enough space on disk” error on 7zip even with sufficient space?

I am using 7-zip to split a large folder (>200 GB) into chunks of 4.7GB so that I can burn them onto a DVD. But for now, I am storing these chunks in an external hard disk which has ~300GB of space. ...
0
votes
0answers
187 views

7ZG.exe - extract subfiles and subdirectories of a specific folder

I have a zip archive, containing a folder called filesFolder. I want to extract the contents of that directory (filesFolder) without the directory name prefixed. This is the command I have so far: ...
0
votes
1answer
95 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
10
votes
1answer
1k views

How to stop 7-Zip from automatically downloading and opening a zip file in Chrome?

I have checked the "Ask where to save each file before downloading" option in Chrome settings yet after installing 7-Zip, every time I click on a link which targets a .zip file: chrome doesn't fire ...
0
votes
0answers
51 views

Batch rearchive zip into 7z using best options and asking for each what to do

Batch repacking zip archives into 7z this one helps a bit, but I would like to get asked for each ZIP files to what to do(opts: delete, repack, leave as it is), and idk if this script does, but after ...
3
votes
1answer
91 views

Is there a way to compress files at different compression levels inside a single 7zip file? [duplicate]

Some files are compressed using their own compression scheme and some aren't. If I try Max compression on an already compressed file, I'll get 1%-2% better compression at most. The amount of time ...
5
votes
1answer
165 views

How to exclude a folder in 7zip?

I want to compress the folder C:\Temp but without a specific subfolder (e.g. C:\Temp\test). How can I do that with 7zip? I've come up with the following command: c:\Temp>7zip a -t7z test.7z ...
0
votes
1answer
35 views

Is it possible to strip the extension before archiving?

I'm not sure about this, but is it possible to save files in an archive under a different name? I'm trying to do this as I'm currently using 7-zip as part of a batch file script to process a bunch of ...
1
vote
1answer
187 views

7zip command to extract with full paths (excluding first folder level)

Using 7zip command line version, I need to extract a .7z file with full paths but excluding the first folder level within the archive. I thought that this command below would work but it still ...
0
votes
0answers
41 views

Is there a consistency check in 7z's self-extract executable?

What I mean is that when you run a self-extracting executable... Does it check the consistency of the files? For example if you use a .exe RAR, it will open a dialog if there is something wrong ...
3
votes
3answers
2k 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 ...
0
votes
1answer
108 views

7zip commandline equivalent of these gui settings?

I'm trying to compress an archive using the following GUI settings: 7z, Fastest, LZMA2, Dict 64KB, Word 32, solid block 8mb, cpu threads 8. "C:\Program Files\7-Zip\7z.exe" a -t7z ...
0
votes
2answers
665 views

How to install non Microsoft USB device driver on PC without admin rights?

I am running Win 7x32 secured corporate laptop. My USB audio device has .exe installer file which is not possible to execute because of having no admin rights. Is it possible to embed driver files in ...
0
votes
1answer
67 views

Extracting one file from archive: 7-zip requires decompressing entire archive?

I've noticed that when browsing an archive containing multiple files with 7-zip 9.20 Windows GUI, extracting one file for previewing takes significantly longer with .7z than .rar archives. With .7zips ...
2
votes
2answers
336 views

What does the number after 7-zip's -m switch mean?

7-zip has a command line switch to set the compression method, -m followed by a number, e.g. -m0=LZMA. What does the number (0 in the example) mean? Different numbers produce slightly different ...