07-23-2023, 10:12 AM
I have a batch file in which I execute the following line to list the contents of an archive:
"\Program Files\7-Zip\7z.exe" l "\Backup Google Docs.7z"
The archive is intentionally corrupted.
cmd.exe displays this:
![enter image description here][1]
[1]:
How can I catch this error in my code?
"\Program Files\7-Zip\7z.exe" l "\Backup Google Docs.7z"
The archive is intentionally corrupted.
cmd.exe displays this:
![enter image description here][1]
[1]:
How can I catch this error in my code?