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

222 views      
Thread locked
 

Messages in this Thread

 
95,040 Postings in 11,980 Threads, 349 registered users, 36 users online (2 registered, 34 guests)
Index | Admin contact |   Forum Time: Jul 6, 2020 - 1:00 pm EDT  |  Hits:31,975,516  (11,509 Today )
RSS Feed