Switch -- - stop switches scanning


This switch tells to WinRAR that there are no more switches in the command line. It could be useful, if either archive or file name starts from '-' character. Without '--' switch such a name would be treated as a switch.

Example

add all files from the current folder to the solid archive -StrangeName

WinRAR a -s -- -StrangeName

See also: