WinRAR Switch -SFX[name] - create self-extracting archive


Switch -SFX[name] - create self-extracting archive


If this switch is used when creating a new archive, a will be created. By default WinRAR uses as its SFX module the file for RAR archives and for ZIP archives. These modules must be in the same folder as winrar.exe. It is possible to specify in the "-sfx" switch an alternate SFX module name.

Shell mode equivalent of this switch is the "Create SFX archive" option in the dialog.

Examples

  1. create self-extracting solid volumes

WinRAR a -sfx -v360 -s Games

  1. create archive using module

WinRAR a -sfxWinCon.SFX Gift.rar

See also command.