ZTree.com  | ZEN  | About...  

 Index   Back

[Q] Zip Testing Utility?   [Q]

By: Ron Metzger       
Date: Feb 04,2020 at 19: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

124 views      
 

Messages in this Thread

 
94,801 Postings in 11,952 Threads, 348 registered users, 11 users online (0 registered, 11 guests)
Index | Admin contact |   Forum Time: Apr 5, 2020 - 2:26 am EDT  |  Hits:30,539,824  (1,605 Today )
RSS Feed