TIP: Click on subject to list as thread! ANSI
echo: batpower
to: ALL
from: 0@0.0 (FileGod)
date: 2008-02-14 16:38:27
subject: Dizzer.bat

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!nlpi068.nbdc.sbc.com.POSTED!eadf9591!not-for-mail
From: 0@0.0 (FileGod)
Newsgroups: alt.msdos.batch,alt.msdos.batch.nt,fidonet.batpower
Subject: Dizzer.bat
Lines: 25
Message-ID: 
NNTP-Posting-Host: 71.142.202.237
 14 Feb 2008 16:38:27 EST)
NNTP-Posting-Date: Thu, 14 Feb 2008 16:38:27 EST
Organization: AT&T http://yahoo.sbc.com
Date: Thu, 14 Feb 2008 21:38:27 GMT
Bytes: 2282
Xref: number1.nntp.dca.giganews.com alt.msdos.batch:93318
 alt.msdos.batch.nt:42231 fidonet.batpower:573

I just made a basic Dizzer.bat, this would not work right with Win 9x or DOS
since it uses Delims which is a part of For in Win XP/NT. This will copy the
files with the same name as a zip file to a File_id.diz & add it to the file,
I still want it to move the files to Dizzed & NoDiz directories & I do not
have it do cleanup since I just got this working, it is going to replace one
of my programs that does not work in Win XP...

setlocal
set List=*.zip
for /f "delims=" %%a in ('dir /b *.zip "%List%"') do copy %%~na.diz
File_id.diz
for /f "delims=" %%a in ('dir /b *.zip "%List%"') do echo pkzip25 -add
-attributes -Maximum %%~na File_id.diz>Temp.bat
call Temp.bat

I hope this helps folks out there, I like wheen the zip files on the web have
a Diz. =8^)
It would be easy to make this work with other formats such a RAR compressed
files...
This does use some of the code from Todd Varga.
 Also, this is really a CMD batch file so you may want to save it as
Dizzer.cmd & the 4th line in the batch file is too wide for my screen so if
you have any problem with it that is the first place to look...
http://www.filegod.netfirms.com

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™.