You are on page 1of 1

OK: to get rid of error messages do the following:

7za.exe a myarchive.7z *.txt > nul 2> nul


if you want to read the errors redirect them to a logfile insatead of the nul
7za.exe a myarchive.7z *.txt > nul 2> errorlog
If you want to\append to the logfile instead of overwriting double the > sign li
ke this
7za.exe a myarchive.7z *.txt > nul 2>> errorloghistory
the same applies to standard output redirection
7za.exe a myarchive.7z *.txt >> addedfileshistory >> errorloghistory

You might also like