home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
bbs_ra
/
vfam116.arj
/
FILEX.DOC
< prev
next >
Wrap
Text File
|
1992-04-29
|
14KB
|
362 lines
FILEX Version 1.14
written by Bill Auclair, FidoNet 1:141/545
Copyright (C) 1990,1991,1992 by XanSoft Development
ALL RIGHTS RESERVED
FILEX Version 1.14 - 1 -
Disclaimer
----------
FILEX is guaranteed to do nothing more than decrease your hard
drive space by one files' worth. The author shall not be held
liable for any damages resulting from the use or misuse of this
software program. You are cautioned to use this program at your
own risk.
Description
-----------
FILEX is a software program designed to facilitate the maintenance
of file areas on Bulletin Board systems using a standard FILES.BBS
style format. It was designed to be used as a "stand-alone" program
from DOS, or in conjunction with a parent utility, a file area
management program called VersaFAM. Latest versions of both FILEX and
VersaFAM may be obtained from the author's BBS (FidoNet 1:141/545).
FILEX is used to add new files to file areas. Easily invoked from
the DOS command line, it transports specified files to target file
areas and automagically updates the list file for those areas,
optionally supplying a description to be used in the list file.
FILEX can optionally be set up to create a file list in a directory
other than that where the target files are located. This functionality
is convenient when managing file areas located on CD-ROM disks or
other "read-only" devices.
FILEX fully supports the use of DOS wildcards * and ?, allowing
for mass additions of files to file areas. FILEX can also be
invoked from a batch file, to handle the addition of periodic
files (FidoNews, nodediffs, etc.) into file areas.
FILEX uses an optional configuration file named FILEX.DAT. This file
can be used to exclude additional filenames from update processing,
to reduce FILEX screen output during mass updates, to change the name
of the output file, and other useful functions.
When invoked, FILEX will look for FILEX.DAT in the directory
pointed to by the FILEX environmental variable. If the FILEX variable
is not defined, FILEX will look for FILEX.DAT in the current directory.
If no FILEX.DAT file is found, processing continues normally.
The use of DOS wildcards (*) and (?) is NOT supported when using the
EXCLUDE verb in FILEX.DAT. A maximum of 256 filenames may be optionally
excluded from update processing.
The QUIET configuration file verb may be used to disable the display of
individual filenames during FILEX processing, reducing program execution
time by 30 to 70 percent.
List file names other than the default FILES.BBS are supported by
FILEX. If you wish to output to a list file other than FILES.BBS,
simply enter the list file name after the LISTFILE verb in FILEX.DAT.
FILEX Version 1.14 - 2 -
FILEX supports the use of macros within file descriptions. The
following description macros are available:
[DATE] gives current date in MM/DD/YY format.
[TIME] gives current time in HH:MM format.
[YEAR] gives verbose listing of current year.
[MONTH] gives verbose listing of current month.
[DAY] gives verbose listing of current day of the week.
[0]-[127] sets OEC text/background colors
[B] enables blinking
To solve problems being experienced by some sysops using utilities
which require the use of the [] bracket characters, FILEX accepts
alternate use of soft brace {} characters in macros, specifiable in
FILEX.DAT. This will hopefully eliminate problems with FILEX
erroneously interpreting anything enclosed in brackets as macro
information.
Text/background color codes
---------------------------
FILEX support the use of macros representing OEC codes to change the
color of file description text. The key for these macros can be
displayed by typing FILEX COLOR at the DOS command line, then pressing
ENTER. Output can also be redirected to a printer or file if needed,
using the DOS > redirection symbol.
Inserting a [B] after any macros will cause the text to blink when
the color codes are interpreted. Blinking will continue until another
color code is encountered.
Installation
------------
FILEX should ideally be installed in a subdirectory included in
your DOS PATH statement. This will ensure that the program can
be executed no matter which subdirectory you happen to be in.
FILEX Version 1.14 - 3 -
Operation
---------
FILEX accepts the following command line syntax:
-------------------------------------------------------------------
FILEX [<source path>] [<target path>] [<description>] [<list path>]
-------------------------------------------------------------------
EXAMPLES
Suppose you have the file PACMAN.ARC in subdirectory
C:\TEST. You want to add this file to a file area using
subdirectory C:\FILE\GAMES, with a suitable description. The
command line syntax used for this example is shown below:
------------------------------------------------------------------
FILEX c:\test\pacman.arc c:\file\games PAC_MAN_Arcade_Game
------------------------------------------------------------------
Note the use of underscores between the words in the description.
Underscores MUST be used, or the description will not be correctly
interpreted by the FILEX command line parser.
Suppose you've gotten in a bunch of programming files, all with
.ZIP extensions, that you'd like to transfer to your Programming
file area. You don't care about file area descriptions, you'll
use VersaFAM to fill them in later. You just need them included
in the list file with a "generic" description. The command line
syntax used for this example is shown below:
------------------------------------------------------------------
FILEX c:\test\*.zip c:\file\program
------------------------------------------------------------------
This transfers all files in C:\TEST with a .ZIP extension to
C:\FILE\PROGRAM, updating C:\FILE\PROGRAM\FILES.BBS. When a
description is not supplied on the command line, FILEX defaults
to a description of "<Description Unavailable>" for all files.
If the directory from which FILEX is invoked and the target
subdirectory are the same, the target subdirectory need not be
specified on the command line:
FILEX Version 1.14 - 4 -
------------------------------------------------------------------
FILEX *.arc
------------------------------------------------------------------
will add all files in C:\FILE\MUSIC with an .ARC extension to
C:\FILE\MUSIC\FILES.BBS, supplying a generic description, if FILEX
is called from C:\FILE\MUSIC. If a non-generic description is to
be supplied to the files in this example, the hyphen (-) character
should be used as a "placeholder" to indicate that the current and
target subdirectories are the same:
------------------------------------------------------------------
FILEX *.arc - New_Music_Files
------------------------------------------------------------------
will add all files in C:\FILE\MUSIC with an .ARC extension to
C:\FILE\MUSIC\FILES.BBS, using the description supplied on the
command line, if FILEX is called from C:\FILE\MUSIC.
------------------------------------------------------------------
FILEX fnews???.* d:\newsletr FidoNews,_rec'd_[DATE]_at_[TIME]
------------------------------------------------------------------
will add any existing FidoNews files to D:\NEWSLETR\FILES.BBS,
using macros to insert a date/time stamp corresponding to when
the file was processed.
------------------------------------------------------------------
FILEX blah.exe c:\newstuff [15][B]New_Files_[3]as_of_[DATE]
------------------------------------------------------------------
will add the file BLAH.EXE to C:\NEWSTUFF\FILES.BBS, with the words
"New Files" blinking white in the description, and the rest of the
line shown in non-blinking cyan.
------------------------------------------------------------------
FILEX g:\cdrom\*.* - New_CD-ROM_files c:\cdlists\file1.bbs
------------------------------------------------------------------
will add generic descriptions for all files in the CD-ROM directory
G:\CDROM to the list file FILE1.BBS, located in the C:\CDLISTS
directory.
When FILEX is run, the first thing it does is check each target
file against files already contained in the list file for the target
subdirectory. If it finds the target file(s) already listed
in the list file, it does NOT add the target file(s). If the specified
list file is not found in the target subdirectory, one is created.
FILEX Version 1.14 - 5 -
Environmental variable
----------------------
The FILEX environmental variable may be used to point to the FILEX.DAT
file. A typical environmental variable listing is shown below:
set FILEX=c:\utility
Non-processable files
---------------------
Certain file names and extensions are ignored by FILEX when it is
processing target files. These filenames include:
DIR.BBS COMn
DIR.BAK LPTn
FILES.BBS PRN
FILES.BAK CON
FILES.VFM SCRN
FILEX.DAT NUL
FILEX.EXE
Revision history
----------------
1/4/90: Version 1.03
First public non-beta release
3/22/90: Version 1.05
Added description macros [DATE],[TIME],[YEAR],[MONTH],
[DAY],[0] thru [15] and [B]. Also added support for
the FILEX environment variable, and changed FILEX.OPS
log file to append, rather than rewrite the log file
each time the program is run.
7/4/90: Version 1.06
Fixed bug that caused FILEX to duplicate existing file
entries when those entries did not have a file
extension. Changed blank padding between filenames
and descriptions from 1 space to 2 spaces, in order to
conform with Opus/Maximus norms. Increased list file
read capacity to 1024 lines to conform with VersaFAM
file area manager specifications.
11/28/90: Version 1.07a (beta)
Fixed a glitch that was generating "Invalid Command Line"
errors for those running 4DOS by replacing the " placeholder
character with the hyphen (-) character instead.
FILEX Version 1.14 - 6 -
12/5/90: Version 1.07b (beta)
Revised handling of filename string to avoid duplication of
FILES.BBS info when processing lowercase filenames.
12/29/90: Version 1.07c (beta)
Added FILEX.DAT configuration file, with EXCLUDE verb, to
allow users to specify additional filenames to be excluded
from processing.
1/13/91: Version 1.07d (beta)
Added code to configuration file routines to change TAB
characters to spaces when encountered.
2/24/91: Version 1.08
Added QUIET configuration file verb and functions. Added
variable listfile name option. Removed FILEX.OPS log file
option. Added BIOS configuration file verb. Generally
cleaned up code, optimizing for speed.
6/22/91: Version 1.12
Cleaned up some problems experienced with some undocumented
beta versions. Expanded support of OEC text/background
color codes from 15 to 127 color combinations. Added color
code chart subroutine to executable file. Added
BRACES/BRACKETS configuration verbs to FILEX.DAT
configuration file. Cut down on code size, squashed a few
bugs and tightened things up.
4/29/92: Version 1.14
Added [list path] parameter to handle output to file lists
located in directories other than where target files are
located (i.e., CD-ROMS). Removed support for the BIOS verb
in FILEX.DAT-- all FILEX operations are now BIOS-based, to
allow redirection to NUL when run internally from VersaFAM.
Please address all comments, criticisms and bug reports to:
Bill Auclair
XanSoft Development Ltd.
13-1 Ridge Rd.
Naugatuck, CT 06770
FidoNet 1:141/545.0
Thanks a lot. Hope you get as much enjoyment out of this program
as I got in bringing it to you....
4/29/92
Bill Auclair