WinRAR GUI SFX modules: command line options


GUI SFX modules: command line options


WinRAR support several command line options listed below.

Option Description
-d<path> Set the destination folder for unpacked files.
-p<pwd> Specify a password for encrypted SFX archive.
-s, -s1, -s2 Silent mode. Switch -s is a brief form of -s1. Both -s and -s1 hide SFX dialog and extraction progress. -s1 also hides the dialog. -s2 hides the start dialog, but extraction progress is displayed.
-sp<par> If application specified in SFX command does not have any parameters, you can define parameters passed to such application using this switch. If parameters are already present in Setup command, this switch is ignored. Setup application can also read the full SFX command line from sfxcmd environment variable. sfxpar environment variable contains SFX command line parameters only, without leading module name

If you need to insert a quotation mark character into command line parameter, use two consecutive quotation marks to do that.