home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 2 BBS
/
02-BBS.zip
/
fasort.lzh
/
readme.txt
< prev
Wrap
Text File
|
1993-08-29
|
2KB
|
53 lines
The name Fasort is short for File Areas Sort. It is not short for fast.
Fasort uses an easy to program bubble sort routine which is not noted for
speed. However, it's fast enough for the job you'll be using it for.
Fasort.cmd will alphabetize the files listed in your Files.bbs files.
You can use it 2 different ways.
1. Create a file called Fasort.cfg which lists the directories in which you
have a Files.bbs. Put Fasort.cfg in the same directory that Fasort.cmd
runs from. Fasort.cfg should look something like this:
% Comments must begin with a % character.
d:\downloads\comms
d:\downloads\utilities
d:\downloads\graphics
% end fasort.cfg.
Each line in Fasort.cfg should be a pathname to a directory, not a pathname
that ends with a filename. The filename "Files.bbs" is assumed.
All you need on the command line (or in a batch file) is
fasort
with no parameters. Fasort.cmd will read Fasort.cfg and process the
Files.bbs in each of the directories in the list. You would probably run
Fasort this way after hurling a number of files out of your uploads
directory into several different download directories.
2. Run Fasort with a single parameter to alphabetize just a single
files.bbs. For example
fasort c:\dwnlds\maxutils
will sort the files.bbs in directory c:\dwnlds\maxutils and ignore
Fasort.cfg entirely.
Command Line Switches
=====================
Fasort will run Fbp.exe after it has finished alphabetizing. To prevent
Fasort from invoking Fbp use the command line switch "/N" or "/n" after the
directory parameter (if any). For example:
fasort /N
fasort d:\files\comms /N