Unpacking a multi-volume RAR archive in Windows. Archiving files in parts, self-extracting How to combine rar archives into one


How to assemble an archive from parts?

Master's answer:

On a forum or any other resource with a limited file attachment size, archives are often divided into several parts for ease of transfer. This practice is also widely used when it is necessary to write large files to removable media.

In order to assemble an archive from parts, you will need the WinRar program. If it is not yet installed on your computer, then download it from the Internet, and then start the installation process. You will need to follow the steps required by the installer wizard and perform file associations in order to quickly access the program menu.

In order to create an archive from parts yourself, you need to open the folder with the desired file (if there is not one file, but several, then for convenience it is better to place them in the same directory). Right-click on the selected files or the folder containing them. In the WinRar menu, select “Add to Archive”. A small window will appear. You must enter the name of the archive. If you want to send these files via the Internet, then it is best to enter the name of the archive in Latin. On the adjacent tabs you can configure archive settings. If necessary, you can set a password and encrypt the content. This is very convenient if the contents of this archive are intended for a specific person, but cannot be sent personally. If necessary, you can add files using the “Browse” button in the main tab.

The archive can be divided into parts. The size of this part of the archive is indicated in bytes. In new versions of the program, a possible size option for a part of the archive is already indicated; it serves as a template for splitting. This is very convenient, especially if you need to burn it to a floppy disk, CD or DVD, and so on.

Once you are sure that you have configured all the settings correctly, click the “OK” button. It would be a good idea to check after creating the archive whether everything is working correctly. To unzip the archive, select all parts and select "Unzip". Specifying the directory of the future location, extract the file. If possible, check its functionality after unzipping.

I think many people have encountered the fact that a file or folder exceeds the required size limit (for example, when sending an attachment by mail, uploading it to an FTP server, or recording it on any media), one solution is to archive the data, since it will help reduce the size folder or file. But if this is not enough and even the archive cannot be compressed to the required limit, in this case the file or folder can be divided into several archives of the required size.

This is what this article will be devoted to - how to split/split a file or folder into several archives using the Winrar or 7-Zip archiver.

Split/split a file or folder into multiple archives using WinRar.

We have a site folder that needs to be archived into several archives. To do this, right-click on it and select "Add to archive".

In the window that opens Archive name and parameters, in the " Are common", we see a field at the bottom left "Split into volumes of size (in bytes)", you can use the already specified parameters, for example, if you want to save to a floppy disk (although I think this is no longer relevant) or CD. If you are not satisfied with the prescribed sizes, you can specify your value, just remember that the value is indicated in bytes!!!


Let me remind you:
1 Kilobyte (1Kb) = 1024 bytes,
1 Megabyte 1 (MB) = 1048576 bytes,
10 Megabytes (10 MB) = 10485760 bytes.
Accordingly, if I want to make archives not exceeding 10 MB. You must register 10485760.


Click "OK". As a result, I ended up with several archives whose size does not exceed the specified value of 10 MB.

Split/split a file or folder into multiple archives using 7-Zip.

Right-click on the file or folder you want to archive and select "7-Zip-Add to archive".


In the window Add to archive there is a box at the bottom left "Split into volumes of size (in bytes)", in this field we select or enter the required size, in this case I want to split it into archives of 10 MB and there is a specified size, so I simply select it (you can also enter 10485760 - the result will be the same)


As a result, several archives appeared that did not exceed 10 MB.
In order to correctly open the created archives, you need to place them all in one folder and open the first archive.

When archiving files using WinRAR, you can change several options for creating an archive, including splitting it into parts. Let's show it with an example.

Select any files on your computer, right-click on them and click on “ Add to archive…", as shown in the screenshot below.

A window with archiving parameters settings should open in front of you. In its lower left area, find the inscription “ Divide into volumes of size».

Here you can choose what size parts your archive will be divided into. You can enter your number and select a unit of measurement (byte, kilobyte, megabyte or gigabyte), or select one of the most popular values ​​from the drop-down window - 5 MB, 100 MB, 700 MB, etc.

For example, we will choose 5 MB. To start archiving with division, click “ OK».

In the folder next to the original files, if you did not change the folder to save this archive in the archiving options, parts of your split archive will appear.

All volumes will be of the selected size except the last one - there will be so much left. For example, if the whole archive “weighs” 17 MB, then it can be divided into 4 parts, choosing the size of each 5 MB. In this case, the latter will be 2 MB in size (17-5-5-5=2).

A RAR file is a compressed archive. The archiver converts many folders and files into one smaller file. To view and use the contents of an archived file, you will need special file compression utilities (programs) that are compatible with this format.

Instructions

  • These utilities can extract multiple files and then merge them into one archive file. Many such utilities can unzip a file, but only a few can create an archive. If you need to merge multiple files back into RAR format, use the WinRAR program. In addition, you can combine several files into one ZIP, TAR or 7Z archive file if you use the 7-Zip program.
  • Download the WinRAR program from the RarLab website and install it. WinRAR is a commercial program, but the website provides a free trial.
  • Open WinRAR and select one of the archive files you want to merge. Click the Extract To button.
  • Click the New Folder button. Name the folder and click OK to extract the files.
  • Repeat these steps to extract other archived files. Specify the folder you created in the previous step to extract each of the files.
  • Click the Add button and select the files in the created folder. Click OK.
  • Select the archive location from the drop-down menu. Click the RAR radio button and select OK to create the merged file. You can also use the 7-Zip program, to do this, proceed to the next step.
  • Download the 7-Zip program from the 7-Zip website and install it on your computer. 7-Zip is a free program and there are versions for Windows, OSX, Linux and other operating systems.
  • Place each of the files you want to merge into one directory. Depending on the number of items in each archive, placing them in a new folder without any other files will help make things easier.
  • Select files in RAR format. Right-click on the file, select the 7-Zip Extract Here option. Wait for the extraction to complete.
  • Hold down the Ctl key (or Command on OSX) and select all extracted files. Right-click on the file, select the 7-Zip Add to option, depending on the type of archive file you want to create. Wait for the compression to complete. The new merged file will appear in the directory.
  • Using the program WinRAR. Let's now look at two more features of this program - archiving a file in parts, and creating a self-extracting archive.

    Archiving a file in parts

    If the file is large and it is impossible to transfer it due to size limitations of mail or a file hosting service, then you can split it into parts, more precisely, into several archives, and transfer these archives.

    In the WinRAR program you can do archiving in parts. Let's do this now.

    To archive files you will need WinRAR archiver installed. If you don’t have it, you can download the archiver from the link at the beginning of the article.

    In the window My computer , or in the program Total Commander, right-click on the file that you want to archive in parts, and select the item in the context menu WinRAR - Add to archive . If you have an English version of the archiver, then you need to select Add to archive .

    A window appears Archive name and parameters , in which you open the tab Are common, if it is not already open by default. In the English version of the archiver this tab is called General .

    At the bottom, find the window under the item. In the English version the inscription will be Split to volumes, bytes .

    In this window, enter the size of the parts into which your file will be divided.

    For example, if you have a file of 6GB in size, and you need to split it into archives of 600 MB each, that is, into 10 archives, then enter the number 629145600 in the box, since 600 MB is equal to exactly this number of bytes: 1 MB is equal to 1024 KB, and 1KB is equal to 1024 bytes.

    Now press the button OK. That's all, the file is archived and will be placed in several archives. The names of these archives will be the same as the name of the source file, with the addition of a dot ending: .part1, .part2, .part3 and so on.

    You can safely transfer these archives, or keep them for yourself.

    Combining them into one file is also very simple. Place all these archives in one folder, and unzip any of them. You don't need to unzip them all, just one is enough. All the parts will then come together, and you will have a complete file.

    Self-extracting archive

    You've probably seen some archives that you could double-click on to automatically unarchive them? There is no need to right-click and look for unzipping items. You don’t even need to have the program itself - an archiver for unpacking. Everything is inside such an archive.

    The self-extracting archive has the extension exe. To extract such an archive, you double-click on it with the left mouse button, and in the window that appears, select the location where this archive will be unpacked.

    If the destination folder is left as default, the archive will be unpacked into the same folder where it is located, which is very convenient.

    Now let's figure out how to create such an archive. Everything is very simple. In folder My computer , or in the program Total Commander, right-click on the file or folder that you want to archive, and then select WinRAR - Add to archive .

    Naturally, you must have WinRAR installed. Next, put a tick next to the item Create SFX archive , and press OK .

    The abbreviation SFX stands for self-extracting, and is translated from English as self-extracting .

    Upon completion of archiving, you receive this archive in the same folder where the original file or folder is located.

    Self-extracting archive in parts

    You can also archive the file in parts so that the first archive is self-extracting. This can be easily done by combining the method of archiving a file in parts with the method of creating a self-extracting archive.

    Right-click on the file and select WinRAR - Add to archive , and in the window at point Divide into volumes of size (in bytes) specify the size of the archives. And on the right side, put a tick in front of the item Create SFX archive . Next click OK .

    The self-extracting archive will be ready in parts.

    You can get more detailed information in the “All courses” and “Utilities” sections, which can be accessed through the top menu of the site. In these sections, articles are grouped by topic into blocks containing the most detailed (as far as possible) information on various topics.

    You can also subscribe to the blog and learn about all new articles.
    It does not take a lot of time. Just click on the link below: