Winrar current version 5.3 allows creating archives from the command line, but apparently only in zip and rar 2.9 formats, not rar5 which gives slightly better performance.
Quoting its help file:
Switch -AF<type> - specify archive format
This switch allows to define a type of new archive in WinRAR
command line. <Type> parameter can be 'rar' or 'zip'.
For example, 'winrar a -afzip arc' will create arc.zip archive.
I tried winrar -AFrar5
with no luck: it silently defaults to rar 2.9 format.
I also tried to force a dictionary size that seems only supported by version 5 (according to the GUI) winrar -MD1048576
with the same result.
Any explanation to the missing command line option? Any hack to force rar5 format?