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,alt.msdos.batch.nt,fidonet.batpower
Subject: DizCheck.bat (Check For File_id.diz & Move Files Zips)
Lines: 30
Message-ID:
NNTP-Posting-Host: 71.142.202.237
24 Feb 2008 19:22:08 EST)
NNTP-Posting-Date: Sun, 24 Feb 2008 19:22:08 EST
Organization: AT&T http://yahoo.sbc.com
Date: Mon, 25 Feb 2008 00:22:08 GMT
Bytes: 1836
Xref: number1.nntp.dca.giganews.com alt.msdos.batch:93400
alt.msdos.batch.nt:42328 fidonet.batpower:581
As long as I have been writing batch files I decided to make one to check the
zip files for a File_id.diz & move the files to Dizzed if they have a diz &
NoDiz if they do not have a diz, I based this on my ZipTest.bat so it was easy
to create this, hmm... no more zip batch files to write I guess since we now
have Dizzer, DizGrab ZipTest & now DizCheck...
if not (%1) == () goto DizCheck
for %%a in (*.zip) do call :DizCheck %%a
del File_id.diz
goto end
:DizCheck
set Zip=%1
PKUNZIP %1 File_id.diz
IF exist File_id.diz goto Dizzed
IF not exist File_id.diz goto NoDiz
goto NoDiz
:Dizzed
md Dizzed
move %1 Dizzed
echo %1 is OK
goto end
:NoDiz
md NoDiz
move %1 NoDiz
goto end
:end
del File_id.diz
http://www.filegod.netfirms.com
|