ZTree.com  | ZEN  | About...  

 Index   Back

[Q] Zip Testing Utility?   [Q]

By: Ron Metzger       
Date: Feb 05,2020 at 00:14
In Response to: [Q] Zip Testing Utility? (Dan LeGate)

> Anyone have a good Zip file testing utility you're able to use via
> Ztree Ctrl-Batch or F9 Application menus?
>
> I mostly want command line ability and a simple report of whether the
> zip file is corrupt or not... I don't need to see each internal file's
> "OK" status like pkzipc does... just whether the zip file itself is OK
> or not.

Try:
UnZip.exe -t "%4.%5"
if ErrorLevel 1 echo Zip Corruption exists. ErrorLevel=%ErrorLevel%

It will list each file but you can send output to NUL.

Good Luck,
Ron Metzger

951 views      
Thread locked
 

Messages in this Thread

 
96,637 Postings in 12,231 Threads, 350 registered users, 68 users online (0 registered, 68 guests)
Index | Admin contact |   Forum Time: Mar 28, 2024 - 7:19 pm UTC  |  Hits:62,377,228  (29,625 Today )
RSS Feed