Yeah just use the rar.exe (Console version) thats in your "C:\Program Files\WinRAR" folder. Read rar.txt...
Flipp3r is correct. Enter DOS prompt, go where you installed winrar and if you just type RAR.EXE by itself it will give you the syntax.