Simply run the following command inside a folder that contains the file(s) you want to compress and split:
filename.rar = the name of the resulting rar files
I wrote this post for 2 reasons:
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.