cmd create rar file

Shell
RAR or UNRAR <command> -<switch1> -<switchN> <archive> <files...> <@listfiles...> <path_to_extract\>
Source

Also in Shell: