How to hide error messages in 7Zip command line?

2019-08-01 04:53发布

-inul command prevents error-box from coming up in WinRar command line. Is there any equivalent command for 7Gz.exe?

1条回答
Explosion°爆炸
2楼-- · 2019-08-01 05:47

7-Zip writes all its messages to stdout, including error and warning messages. This means you can collect all the output from it by redirecting stdout it to a file.

A command like the following will redirect all output (including from stderr) to Log.txt:

7za a Test.7z *.* >Log.txt 2>&1
查看更多
登录 后发表回答