How is WinRAR executed?
Previous  Top  Next

MyZippa changes directory to the folder to be archived.

WinRAR is executed in the following manner:

<executable name> a <switches> <-x[excluded mask 1]> <-x[excluded mask 2]> ... <"archive name"> <included mask 1> <included mask2> ...

<executable name>

e.g. C:\Program Files\WinRAR\WinRAR.exe

Exactly as specified in preferences

<switches>

e.g. -s -m5 -ep2

Exactly as specified in preferences

<-x[excluded mask]>

e.g. -x*.bak

If an excluded mask is specified, each mask will be added seperately on the command line

e.g. -x*.bak -x*.~*

If no excluded masks are selected, no -x switches will be added

<"archive name">

e.g. "C:\My Backups\My_Folder.RAR"

The archive name as specified in the folder list. If the option to add a date and time stamp is selected, it will be added here.

e.g. "C:\My Backups\My_Folder_200403281452.RAR"

<included mask 1>

e.g. *.ini

For multiple included masks, each is added seperately.

e.g. *.ini *.pas *.dfm

Example

C:\Program Files\WinRAR\WinRAR.exe a -r -dh -m5 -s -ibck -x*.exe -x*.~* "C:\Projects\C_Projects_MyZippa_200404031558.RAR" *.*