I know you can create a text file containing a list of files and then tell 7zip to reference this file so that it can exclude them from the archive, but I cannot find the syntax for that. Can someone help?
After a few hours of searching, I finally figured it out. Here's the switch syntax:
As for the file containing the files, as OldWolf said, it's a list separated by carriage returns like this:
Works like a charm.
I think you want the -x switch with @
In retrospect, I realized you may have meant you wanted the syntax for the listfile. It should be a newline separated list. You may be running into an encoding issue. 7z expects it to be in UTF-8 format, you can override that with the -scs switch or you can tell notepad to save the file in UTF-8 format