Menu

Switch -W<path> - set folder for temporary files


WinRAR needs to create temporary files and folders in some operations like archive modification. By default it creates them in folder specified in "Folder for temporary files" field of Paths page in "Settings" dialog. When you use WinRAR in command line mode, you can override this parameter with -w<path> switch.

Example:

use d:\tmp folder for temporary files, when adding a new comment to info.rar

WinRAR c -wd:\tmp -zcomment.txt info.rar