TIP: Click on subject to list as thread! ANSI
echo: batpower
to: ALL
from: 0@0.0 (FileGod)
date: 2008-02-24 19:30:13
subject: Re:ZipTest.bat (Testing Zips For Errors)

Path: number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newscon02.news.prodigy.net!prodigy.net!newsdst01.news.prodigy.net!prodigy.com!postmaster.news.prodigy.com!nlpi061.nbdc.sbc.com.POSTED!eadf9591!not-for-mail
From: 0@0.0 (FileGod)
Newsgroups: alt.msdos.batch,fidonet.batpower
Subject: Re:ZipTest.bat (Testing Zips For Errors)
Lines: 19
Message-ID: 
NNTP-Posting-Host: 71.142.202.237
 24 Feb 2008 19:30:13 EST)
NNTP-Posting-Date: Sun, 24 Feb 2008 19:30:13 EST
Organization: AT&T http://yahoo.sbc.com
Date: Mon, 25 Feb 2008 00:30:13 GMT
Bytes: 1467
Xref: number1.nntp.dca.giganews.com alt.msdos.batch:93401 fidonet.batpower:582

OK, I just fixed ZipTest.bat so it will not handle all the files in a
directory & move the zips to the errors directory, I messed up & posted this
twice in the NT echo when I meant to post this here...

if not (%1) == () goto ZipTest
for %%a in (*.zip) do call ZipTest %%a
goto end
:ZipTest
set Zip=%1
PKUNZIP -t %1
IF ERRORLEVEL = 1 Goto BadZip>nul
echo %1 is OK
goto end
:BadZip
Echo %1 Has Errors
md Errors
move %1 errors
:end

SOURCE: echoes via archive.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.