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?
I am not sure you can do what you are suggesting using the graphical user interface, but you can certainly from the command line:
You would need to change directory (the
And the secret decoder ring:
If you wanted to just add the folders for a given directory, the command is a bit more complex as by default FOR just works with files. We need to feed it some additional information:
This works because of a few pieces of what seems like magic:
If you want to encapsulate this inside of a batch file, the only change you will need to make is to double escape the %i variable:
I like Goyuix's answer. However, if you are using Windows 7 (or have Power Shell installed) and also use the command-line version of 7-zip, 7za.exe, then you can run this command:
You can also change "dir" to "dir *.exe" to only select executable files.
One nice thing about Power Shell is that you are working with objects instead of strings. So you could get really specific if you wanted to. For example:
This will only include files that:
EDIT If you want zip files instead of 7-zip files, use InfoZip's zip.exe instead.
You can download and install 7zip plugin for Total Commander from http://www.ghisler.com/plugins.htm Once you do that on the right side of the window from your screenshot there will be another selection for 7zip compression. With that option you can accomplish exactly what you are asking for.