7-Zip

7-Zip: 7z t archive.7z — Windows

Test an archive for errors.

Availability: Third-party software; install and version dependent.中文

Syntax

7z t archive.7z

Examples

Test an archive for errors.

7z t archive.7z

Parameters, options and clauses

Option / clauseDescription
t <archive>Test archive integrity without extracting files.
-t<type>Specify the archive type where detection is ambiguous.
-p[password]Supply a password for encrypted archives.
Safety note

Review a command and its target before running it. Commands that alter files, services, accounts, disks, permissions or databases may be difficult to reverse. Test in a safe environment and keep backups.

Official reference ↗Back to directory