home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
OFFLINE
/
AD2QWK9B.ZIP
/
RBBSQWK.BAT
< prev
Wrap
DOS Batch File
|
1992-08-20
|
2KB
|
40 lines
@ECHO ON
:
: RBBSQWK.BAT (Optional) - Called by MailMan, to prepare QWK packet for
: downloading. If you allow your users to choose
: archive methods, MailMan will have already created
: the .QWK by the time this batch file is executed.
:
: First command line parameter is base file name
: Second command line parameter is archive method ZIP, ARJ, LZH, or ARC
: Third command line parameter is node number (not used).
:
: Last updated for distribution 12/23/91 - Morrow & Wilson
:
: Compress the .QWK packet if it doesn't already exist.
: ---------------------------------------------------------------------------
if exist C:\DOORS\MMGRPLUS\NODE%NODE%\ADD2QWK.LST del C:\DOORS\MMGRPLUS\NODE%NODE%\noname.lst
if exist %1.qwk GOTO ADD2QWK
if (%2)==(ZIP) pkzip -m %1.qwk *.dat *.ndx ???log door.id news blt-*.*
if (%2)==(ARJ) arj a %1.qwk *.dat *.ndx ???log door.id news blt-*.*
if (%2)==(LZH) lharc a -m %1.qwk *.dat *.ndx ???log door.id news blt-*.*
GOTO ADD2QWK
:ADD2QWK
Echo > COM%port%
Echo Running Add2QWK (.90b) (c) Eddie Rowe (Work in Progress)...> COM%port%
Echo Checking for personal downloads belonging to you...> COM%port%
c:\utility\ADD2QWK /CFG:c:\utility\ADD2QWK.CFG /DOR:c:\rbbs\dorinfo%node%.def
if exist C:\DOORS\MMGRPLUS\NODE%NODE%\ADD2QWK.LST GOTO ADDTOQWK
Echo No personal download(s) for you today it looks like... > COM%port%
GOTO END
:ADDTOQWK
Cls
Echo Adding personal download(s) to your .QWK Packet > COM%port%
if (%2)==(ZIP) pkzip -a %1.qwk @ADD2QWK.LST
if (%2)==(ARJ) arj a %1.qwk -!@ @ADD2QWK.LST
if (%2)==(LZH) lha a /m /o %1.qwk @ADD2QWK.LST
:END
copy c:\rbbs\personal\add2qwk.new c:\rbbs\personal\priv.def