home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
BBS_UTIL
/
RBTCH242.ZIP
/
EXTRA.ZIP
/
TIC2DOZ.ZIP
/
TIC2DOZ.DOC
next >
Wrap
Text File
|
1993-05-15
|
9KB
|
244 lines
------------------------------------
TIC2DOZ - A .TIC file processor for
the RBatch file processing system
------------------------------------
TIC2DOZ Version 1.00
May 15, 1993
(C) by Dan Shore - 1993
By: Dan Shore - SYSOP
THE SHORELINE BBS
(301) 946-2771
A: What is TIC2DOZ.EXE
------------------------
TIC2DOZ is a program that will prepare a .DOZ and a DSZLOG file so
RBatch can process the files and post them to your BBS AUTOMATICALLY
and UNATTENDED when your .TIC files arrive. You can check each file
through your own batch file testing with RBatch, and have the category
and file description (even extended descriptions) posted to your
FMS or .DIR file system.
A-1: What is a DSZLOG?
-----------------------
This is a file just like your XFER-?.DEF file that RBBS checks for
file transfer success (you never can find one due to RBBS deleting
the file after it checks it). TIC2DOZ will create this file for RBatch,
so RBatch can determine which files to process (check and post). The
name and location of this file (which should match the entry in your
RBatch.Cfg file) is specified with the 2nd parameter on the TIC2DOZ
command line.
A-2: What is a .DOZ file?
--------------------------
Without going into a long explaination about a .DOZ file since it is
described in the RBatch distribution package (see WHATISA.DOZ), it
basically is a text file with the FILENAME, CATEGORY CODE, & FILE
DESCRIPTION in a special format for RBatch to read.
NOTE: The default filename is TIC.DOZ but you can override this
by using the 3rd parameter on the command line. See command
line syntax below.
MAKE SURE THAT THE .DOZ FILE IS IN THE SAME DIRECTORY AS THE FILES
THAT ARE BEING PROCESSED BY RBATCH!!! Here are some examples:
A. If you run TIC2DOZ and RBatch BEFORE TIC then the directory to
create the .DOZ file in is the same directory as where your
incoming files are located in.
B. If you run TIC2DOZ and RBatch AFTER TIC then the directory to
create the .DOZ file in is the same directory as where your
files get moved by TIC (usually the upload directory).
- 2 -
A-3: What if the file has a FILE_ID.DIZ or DESC.SDI?
-----------------------------------------------------
After running TIC2DOZ, the .DOZ file will contain the description that
was supplied in the .TIC file. If the actual file contains a FILE_ID.DIZ
or DESC.SDI then RBatch will post the file description from the .DIZ
or .SDI instead of the .DOZ. This means that you get the authors full
description INSTEAD of the single line descriptions that are found in
.TIC files.
B: TIC2DOZ Command Line Syntax
-------------------------------
The TIC2DOZ program is command line driven with the following syntax:
TIC2DOZ <Path/Filename of TIC.CFG> ALL COMMAND LINE
<Path/Filename of FakeXfer to create> PARAMETERS ARE ON
<Path/Filename of .DOZ to create> THE SAME LINE!!!!
See Below
Here is an example:
TIC2DOZ C:\RBBS\TIC\TIC.CFG C:\JUNK\TICXFER.DEF D:\UPLOADS\TIC.DOZ
^^^ ^^^ ^^^
A B C
A. This is the path/filename of your TIC.CFG file. From this file
I will get the path to the .TIC files from the firstline
(Generally the "IN" parameter of this file). I will also get
the AREANAMES from the AREA line and I will get the category
code from the line LOCAL LISTFMT. If you do not have your
categories on the LOCAL LISTFMT line then the files will not
get categorized properly. (If there is another format to .TIC
that I am not aware of for the categories, please let me know)
B. This is the path/filename of the fakexfer to create. This is the
filename that you should use in your RBatch.Cfg file in place of
the XFER-?.DEF path/filename. Remember RBatch READS this file to
determine what files to process. This fakexfer file is generated
from the filenames given within the .TIC files.
C. [ OPTIONAL PARAMETER!!!! ] - If you specify something in this position
TIC2DOZ will make the .DOZ file in this specified directory INSTEAD
of the same directory as the .TIC's and files. (same directory that
is listed as your IN specified in your TIC.CFG). Why would you want
to use this parameter? Good question - it depends on how you want
to process your .TIC files.
- 3 -
B-1: RBatch command line when using TIC2DOZ
-------------------------------------------
When running RBatch with .TIC files, you have to inform RBatch of this
with a command line switch. Here is an example of a "standard" RBatch
command line and then one that is processing .TICs
Standard:
---------
RBatch Rbatch.Cfg %1 %4 %3
.TIC Processing:
----------------
RBatch Rbatcht.Cfg %1 %4 %3 TIC
*****
Note: The word TIC is the last parameter on the command line.
*****
C: Which do I run first RBatch or TIC?
---------------------------------------
1. If you want to have the CRC checking be done by TIC then you
should run RBatch AFTER YOU RUN TIC, hence you want the .DOZ
file to be in the same directory that you have the files moved
to by TIC (most of the time this is your BBS upload dir). If
TIC moves files to DIFFERENT DIRECTORIES, then you will have
to use step 2 here, since the files are not in one directory.
2. If you wish RBatch to check the files BEFORE RUNNING TIC, then
you need not use the third parameter on the command line.
If you execute TIC after RBatch, and your batch files "modify"
your files (ie. converting, rezipping, adding zip comments,
etc.) then you want to run TIC FIRST. If you change the
compression type of the file TIC will not move the file, so
make sure you run TIC first, then TIC2DOZ, then RBatch.
NOTE: Both ways work and it is up to you to decide which
is best suited for your setup.
D: Warranty and Disclaimer
---------------------------
THIS PRODUCT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
INCLUDING ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE RESULTS AND PERFORMANCE OF THE
PROGRAM IS ASSUMED BY YOU. FURTHERMORE, I THE AUTHOR DO NOT WARRANT,
GUARANTEE, OR MAKE ANY REPRESENTATIONS REGARDING THE USE OF OR THE
RESULTS OF THE USE OF THE PROGRAM, OR THAT THE PROGRAM WILL RUN WITHOUT
ERROR, AND YOU RELY ON THE PROGRAM AND RESULTS SOLELY AT YOUR OWN RISK.
I THE AUTHOR CANNOT ACCEPT RESPONSIBILITY FOR SYSTEM DAMAGE, LOSS OF
PROFIT, OR ANY OTHER SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
RESULTING FROM THE USE OR INABILITY TO USE THIS PRODUCT.
- 4 -
E: Problems that may arise:
----------------------------
I do not run a system that is on a file network, hence I do not
use .TIC files. I have had to rely on the beta testers of this
program to inform me of any mistakes in assuming things with TIC.
Please let me know of other setups that I do not support.
F: Support:
-----------
If you do encounter any problems with the program, or have suggestions
on improvements, you can call my BBS 24 hrs a day, and leave a message
for me, or leave a message on the RIME Network in the RBBS conference,
or in the RBBS-PC conference on the RBBS-NET Network. I get this
echo through my FIDO feed. I will consider the enhancements and of
course try to fix any problems encountered with the program.
Note that I support both Registered and Non-Registered users of the
program. Support is a NUMBER ONE priority for me and my programs,
and I think you will be impressed with the support that I give. You
are welcome to call me voice if you have any problems between 7-10:00pm
weekdays and between 9am-10pm on the weekends.
My BBS name & number:
Dan Shore
"THE SHORELINE BBS"
Located in Silver Spring, MD
3/12/24/9600/14.4k
301-946-2771
Proud Member of the
- DGS Systems Group (Wonder) -
RBBS-PC Beta Test Site
Proudly Running RBBS-PC
"The Best BBS Software in the World"
Member of the RIME & FIDO Network
RelayNet ID = SHORELINE
FIDO Net# = 1:109/458