Path: number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!newscon04.news.prodigy.net!prodigy.net!newsdst01.news.prodigy.net!prodigy.com!postmaster.news.prodigy.com!nlpi070.nbdc.sbc.com.POSTED!54622a77!not-for-mail
From: "Todd Vargo"
Newsgroups: alt.msdos.batch,alt.msdos.batch.nt,fidonet.batpower
References:
Subject: Re: Dizzer.bat
Lines: 41
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-ID:
NNTP-Posting-Host: 75.33.77.202
14 Feb 2008 18:30:05 EST)
NNTP-Posting-Date: Thu, 14 Feb 2008 18:30:05 EST
Organization: AT&T http://yahoo.sbc.com
Date: Thu, 14 Feb 2008 18:28:52 -0500
Bytes: 2836
Xref: number1.nntp.dca.giganews.com alt.msdos.batch:93319
alt.msdos.batch.nt:42234 fidonet.batpower:574
FileGod wrote:
> 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
This does not belong in alt.msdos.batch as well as, IMO, inappropriate to
start a new thread regarding the same issue already being discussed in
alt.msdos.batch.nt which is where this discussion belongs.
--
Todd Vargo
(Post questions to group only. Remove "z" to email personal messages)
|