Categories
Uncategorized

WinRAR Command Line – Splitting Up A Large File

Simply run the following command inside a folder that contains the file(s) you want to compress and split:

rar a -v# filename.rar

where:

# = max number of KB each piece should be (1GB = 1000000)
filename.rar = the name of the resulting rar files

I wrote this post for 2 reasons:

1) I needed to split up a large (5GB) ISO so I could store it on a FAT32 external drive today and it took me a ridiculously long time to find the answer to this question online, and the WinRAR command line help was of no help at all. Hopefully this saves someone else the time in the future

2) I want to be able to find this again in a hurry when needed

For reference, here is where you can download the latest WinRAR: rarlab.com

Note: the rar command will only work as stated above if its placed in the correct location or known to your OS. So that means putting it in whatever path your system requires, OR giving the absolute path to the rar executable in the command line. If you’re keen enough to even consider using the command line to run WinRAR then I’m going to assume you know how to do this. If not, Google can surely help you out.

Leave a Reply