MyZippa changes directory to the folder to be archived. In the case of single archives, it will change directory to the root folder of the drive on which the folder is located.
7-Zip 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\7-Zip\7z.exe
Exactly as specified in preferences
<switches>
e.g. -r -t7z
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.7Z"
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.7Z"
<included mask 1>
e.g. *.ini
For multiple included masks, each is added seperately.
e.g. *.ini *.pas *.dfm
If the single archive option is enabled, the full folder and file mask is specified.
e.g. "C:\Projects\MyZippa\*.*"
Example
C:\Program Files\7-Zip\7z.exe a -r -t7z -x!*.exe -x!*.~* "C:\Projects\C_Projects_MyZippa_200404031559.7Z" *.*