WinRAR create archive button - can't use spaces in filename

I have a button on my toolbar with the following command:

"C:\Program Files\WinRAR\WinRAR.exe" a -r {Rs|Specify name for archive} @{O|filem}

It won't accept spaces in the filename. If, when prompted, I enter something like "archive number one.rar", it comes out "archive.rar".

I think I just found it on the forum here, and I don't really understand how it works. Is there a way to adjust it to allow spaces in the filename?


It needs quotes around the {Rs}. :wink:

And have a look here: [WinRAR Compress/Decompress Buttons (and other))

Excellent, thank you Christiaan :smiley: