home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS - Coast to Coast
/
simteldosarchivecoasttocoast2.iso
/
waffle
/
allfil62.zip
/
UPDATE.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-02-09
|
1KB
|
44 lines
@echo off
rem
rem Front end for allfiles -- Waffle 1.65 files lister
rem by Otto J. Makela (BBS V.32bis/HST +358 41 211 562)
rem
rem Distributed under the GNU General Public Licence:
rem see file COPYING for details
rem
rem Edit these to suit your local configuration
rem The allfiles configuration file
set config=c:\waffle\allfiles\allfiles.cnf
rem The listings produced by allfiles you want to zip up
set files=allfiles pcfiles macfiles grafiles
rem Where the listings and zips will be located
set download=c:\download
rem A comment for the zipped files
set comment=c:\usr\local\comment.txt
rem This is the temporary file location for PKWare zip
if "%pktmp%"=="" set pktmp=d:\
rem End of configuration section
rem Call allfiles
break on
c:\waffle\allfiles\allfiles %config% %1 %2 %3 %4 %5 %6 %7 %8 %9
rem Don't zip in case of errors
if errorlevel 1 goto exit
rem First delete the old zips
for %%a in (%files%) do del %download%\%%a.zip
if errorlevel 1 goto exit
rem And then do the actual zipping
rem (add ! to the options if you have registered your pkzip to get AV)
for %%a in (%files%) do pkzip -azex %download%\%%a %download%\%%a.doc < %comment%
:exit
set config=
set files=
set download=
set comment=
break on