Now I have a scenario that needs to be applied to 7z to implement the decompression action, and the current 7z command mode is very suitable for the current scenario requirements. However, there are some issues in the application process. When I try to release an encrypted file, 7z will perform a scheme on all files in the file, prompting a password error message and also generating a corresponding 0kb file, which is a certain distance from my expected target.
Is there a command method that can detect in advance whether the current file requires a password, or if a password error is encountered during decompression, it will be returned directly, instead of creating a corresponding empty file and accessing all files.