How can I extract multipart RAR files using the command line unrar.exe?

Is there a way to extract all RAR files using unrar.exe via the command line without passing it each part?

I have lots of multipart RAR files in mixed formats: .part1.rar, .part2.rar or .rar, .r00, .r01, etc.

Is there a trick I'm missing or this is something only possible from WinRAR (where you just right click Extract and it knows to extract from the other parts as well)?


I've had this very problem before and here is the answer.

unrar x filename.part1.rar

I know this is an old question, but I did it with just the following command, using UNRAR 4.10 freeware

unrar e filename.rar

This handled the multiparts just fine.