Switch -V<size>[b|B|k|K|m|M|g|G|t|T] - create volumes


Create volumes of the specified size.

Unit type character following the size value can be 'b' or 'B' for bytes, 'k' for kilobytes, 'K' for thousands of bytes, 'm' for megabytes, 'M' for millions of bytes, 'g' for gigabytes, 'G' for billions of bytes, 't' for terabytes, 'T' for trillions of bytes. If this character is not present, the size value is treated as thousands of bytes.

If the size is omitted, autodetection will be used.

It is allowed to enter decimal fractions using the dot as the decimal mark. For example, -v1.5g means 1.5 gigabytes.

You may specify several -v switches to set different sizes for different volumes. For example:

WinRAR a -v100k -v200k -v300k arcname

sets 100 KB size for first volume, 200 KB for second and 300 KB for all following volumes.

If volumes are created on removable media, then after the creation of the first volume, the user will be prompted with:

Create next volume: Yes/No/Create All

At this moment in time, you should change the disks. Answering 'All' will cause all volumes to be created without a pause.

RAR volumes have names like 'volname.partNNN.rar', where NNN is the volume number.

Volumes created by older WinRAR versions could use the another naming scheme, where the first volume file in a multi-volume set had .rar extension, followed by volumes with extensions from .r00 to .r99. WinRAR can unpack such volumes, but it doesn't use the extension based names for new archives.

When extracting or testing a multivolume archive, you must use only the first volume name. If there is no next volume on the drive, the user will be prompted with:

Insert disk with <next volume name>. OK/Cancel

Insert the disk with the correct volume and press OK.

Archive volumes cannot be modified. Commands d, f, u and s cannot be used with multivolume sets. Command a can be used only to create a new multivolume set.

It is possible, although unlikely, that file size of a file in a multivolume set could be greater than its uncompressed size. This is due to the fact that 'storing' (no compression if size increases) cannot be enabled for multivolume sets.

Archive volumes may be solid and/or self-extracting.

Shell mode equivalent of this switch is the "Split to volumes" field in the Archive name and parameters dialog.

Example

create solid volumes 1 GB each

WinRAR a -s -v1g volume.rar bitmaps