Command-line Zip & Rar problem

I don't think that "/cmd" belongs in the UnRAR command-line.

There are a load of example WinRAR buttons here:

[WinRAR Compress/Decompress Buttons (and other))

Note that Opus has built-in unrar and unzip support as well. A button which runs Copy EXTRACT=sub HERE will do what you want for those two file formats.