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

86 views      
 

Messages in this Thread

 
94,748 Postings in 11,945 Threads, 348 registered users, 21 users online (0 registered, 21 guests)
Index | Admin contact |   Forum Time: Feb 17, 2020 - 4:36 am EST  |  Hits:30,032,754  (1,851 Today )
RSS Feed