home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
BBS
/
RBTCH220.ZIP
/
DOCS.ZIP
/
ADDIN.DOC
next >
Wrap
Text File
|
1992-11-18
|
3KB
|
87 lines
I have added in a feature for SysOp's to be able to "add" a file
to an upload. While I am not a fan of having additional files added
into other files, other SysOp's like this, so I added it in (so to
speak!). This feature will require you to add another line to the
.CFG file at the end of the file (Line #31). This line consists of
THREE parameters each seperated by a semi-colon.
Here is an example of what the line would look like:
C:\UTILS\TSL[node].DES;C:\RBBS\UTILS\ADDFILE.BAT;C:\RBBS\UTILS\DESFORM.DAT
The new line syntax is:
description path/filename;Path/Filename of batchfile;Format Filename
^ ^ ^
1 2 3
1. This is the name of the description file that will be
added to the upload. This file can have the [NODE]
parameter.
2. This is the batch file that RBatch will call. RBatch
will pass two parameters to the batch file:
%1 = Path/Filename of uploaded file
%2 = Path/Filename of the description file
3. This is the description format file. This file makes
it so your description file can have a format designed
by yourself. An example of this file is:
BBS Name : [bn]
File Name : [fn]
Date : [dt]
Time : [tm]
User Name : [un]
File Desc : [fd]
[ex]
Note that this file normally starts at the left margin
but is diplayed here for easier reading and the output
from this file would look like this:
BBS Name : THE SHORELINE BBS
File Name : DFLAT8B.ZIP
Date : 10-25-92
Time : 9:15 PM
User Name : DAN SHORE
File Desc : ZipLab PLUS - 1.9c Archive testing Compiled
02/02/92 at 11:04am. A PCBTest.Bat enhancement for PCBoard/ProDoor SysOps.
Tests ZIP,ARJ,LZH,GIF files. CRC value, dates, and (optionally) FILE_ID.DIZ
inserted in / replacing description of file. Process includes SCAN, CRC
checking, date limits, comment replacement/removal BBS advertising removal
and more. $10 Shareware by Jeffrey S. Morley
*-* Note that the text before the [XX] is whatever you choose
it to be. The [XX] parameters are as follows:
[FN] - Uploaded Filename
[DT] - Date
[TM] - Time
[UN] - Users Name who uploaded file
[BN] - BBS Name
[FD] - File Description (first line)
[EX] - Extended Description - THIS MUST BE LAST PARAMETER
IF USED IN THE FORMAT FILE!
*-* The batch file that RBatch calls will have two parameters
passed to it:
%1 = Path/Filename of uploaded file
%2 = Path/Filename of description file
*-* To omit this feature in RBatch, DO NOT ADD ANOTHER
ENTRY PAST LINE #30 OF THE CONFIGURATION FILE.
Dan Shore - SysOp
THE SHORELINE BBS
301-946-2771