Nevermind, I found it in the meanwhile. The switch are -mta -mtc
These parameter work fine for me in the GUI. How can I add them to my command line application? I have tried 7zG.exe a -t7z -ta -tc "archive.7z" "folder1" but this did not work, so I guess there is another way set these parameters.