Commands for Using Standalone 7-zip to Split and Combine Zip File

Category: Tricks n TechniquesTags: , , ,

What is Standalone 7-zip?

It is a single executable that can be used to zip and unzip files without installing 7-zip on a machine.

How to Get Standalone 7-zip?

Visit the page and download “7-Zip Extra: standalone console version, 7z DLL, Plugin for Far Manager”

Download 7-zip standalone version

Command to Create a Zip and Split it Based on a File Size?

"C:\EXE_LOCATION\7za.exe" a -v2m "" "*.xlsm"

EXE_LOCATION = Full path of 7za.exe on the computer
a = create archive(=zip)
-v2m = split the file into 2MB
“” = zip output file name
“*.xlsm” = source file name(s) to zip

Command to Extract Files From Splitted Zip Files?

Note: Even though you are specifying only the the first part in the command, the command will look for all the parts in the same folder and extract it.


EXE_LOCATION = Full path of 7za.exe on the computer
MY_FOLDER = Output folder where the unzipped files will reside
ZIP_FILE_LOCATION = Location of zip file to unzip
e = extract from zip file
-o = output directory
“C:\ZIP_FILE_LOCATION\” = first part of zip file



Your email address will not be published. Required fields are marked *

  1. d h says:

    The title says “… and Combine Zip File” but there are no commands to combine files which have been split.
    The extract commands just extract the content from a single part of the zip-split, but not from the entire set of split archive files.

    1. Hello D H,

      In command, you need to mention only first part. As far as all the parts are in the same folder, 7-zip will extract everything.

      Vishal Monpara

      1. bhanu says:

        How to combine the split copies

        1. Hello Bhanu,

          The command will not combine the splitted file but instead it will extract all the files.

          1. Jeff the Good Samaritan says:

            Incorrect. The last piece of code combines all splitted files, back into one.

        2. Jeff the Good Samaritan says:

          The last piece code given above achieves this. It extracts all the pieces of the archive (-e) and pieces them back together with the original name, in the path specified (-o).