home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
r
/
rfm102.zip
/
RFMCFG.DOC
< prev
next >
Wrap
Text File
|
1992-08-24
|
8KB
|
186 lines
RFM
version 1.00
by
RH-Software
This file explains the configuration of RFM and the format of the file
RFM_ARCH.DAT.
IMPORTANT : All EXE,PRG and DAT-files need to be in the same directory when
configuring RFM.
When you type "RFMCFG" at the DOS-prompt, you will be presented with a
menu of 7 options to choose from.
Only the first option must surely be set, the rest you can alter later,
when the default settings are not to your liking.
OPTIONS :
1 : Set directory where RFM and Accompanying files will be copied
Default : C:\UTILS\
When choosing this option you must type in the directory where you will
copy ALL files from the package (the DOCS are not needed of course).
The backslash at the end is not needed. You must copy all files to this
directory after you have quited RFMCFG.
2 : Set number of columns to display at startup (1 or 2)
Default : 2
When choosing '1' here, files will be displayed in one column, with for
every file a line containing Filename, Extension, Size, Date, Time
and Attributes.
When choosing '2' here, files will be displayed in two columns, with for
every file half a line containing Filename, Extension and Size.
This is only the number of columns displayed at STARTUP. Inside RFM you
can toggle 1 or 2 column display from the "Disp"-button.
Displaying files in 2 columns is faster than in 1 column.
3 : Set Date format European(DD-MM-YY) or American(MM-DD-YY)
Default : European
This Date format is used with the dates of the files and with the
built in clock.
4 : Set Date-Time window present at startup (Yes or No)
Default : Yes
When set to 'Yes' a window will be on screen, displaying the day of the
week, Date and Time.
This is only for STARTUP. Inside RFM you can toggle the window presence
from the "Disp"-button.
5 : Add or Delete Archivers
After choosing this option you will be presented with a list of all
currently present extensions, along with 3 options, namely
1 : Delete an extension
2 : Add an extension
3 : Go to main menu
If you choose "Delete an extension" you will be asked to type in the
number of the extension to be deleted. The extension will be removed
and its entries in RFM_ARCH.DAT as well.
If you choose "Add an extension" you will be asked for the extension
to add. You must type no more than three characters here, e.g. "LZW".
After that you will see the message that two lines have been added to
RFM_ARCH.DAT for the new extension. To get to use the extension you
have to edit RFM_ARCH.DAT with an ascii-editor to use the right command
line for this extension. How to do this will be explained below.
6 : Set Sort order on startup
Default : Sort by Extension
All files will be sorted when displayed, if you like. If you choose this
option you can specify the sort order of the files.
The possibilities are :
1 : Sort by Name
2 : Sort by Extension
3 : Sort by Size
4 : Sort by Time
5 : Don't Sort, i.e. display them in the order they were written onto disk
REMEMBER this is only for startup, from inside RFM it is possible to
change the sort order to any other.
7 : QUIT RFMCFG
THE FILE RFM-ARCH.DAT :
This file contains the data of how to execute a command when you click
on a file with the extension of a present archiver.
Per archiver it contains two lines, one for extracting a file with this
extension, and one for creating an archive file with this extension.
NOTE : For viewing an archive file you need to enter a line in VIEW.CFG,
the configuration file of V.COM.
These lines look as follows:
The FIRST LINE of every two is the command to extract a file.
This line looks just like the one you would type at the DOS prompt, except
that for the archivefilename you need to specify the word "ARCH" (all
Capitals), and for the Destination Pathname of where to extract the file to,
you need to specify the word "DEST" (again, all CAPITALS). When you click
on an archived file in RFM in order to extract it, RFM will pass the correct
archivefilename and destination to this command line.
Example:
Were you to type the following at the DOS prompt to extract ARJ files,
arj x RFM.ARJ c:\utils i.e. extract file RFM.ARJ to directory C:\UTILS,
you now type the following for the first line of the ARJ extension
in RFM_ARCH.DAT :
c:\pk\arj.exe x ARCH DEST , that's all
You see that the complete path of arj.exe is specified. You must do this
so that RFM doesn't have to search your PATH for arj and/or look for the
extension (When you specify c:\pk\arj x ARCH DEST , RFM does not know whether
this arj is a COM, EXE or BAT file). So always specify complete path plus
extension of the archiver (This is fastest, above all).
NOTE : By the way, c:\pk\ is my archivers-directory, no obligations to
use the same for you.
You can also see that "ARCH" takes the place of the filename(RFM.ARJ), and
that "DEST" takes the place of the path of where to extract the filename
(C:\UTILS).
The SECOND LINE is to create an archive file containing the files you
marked inside RFM. Again, for the archivefilename you need to specify
the word "ARCH".
Some archive programs (almost all) have the possibility to specify a
filename on the command line with this file containing all the files to
put into the archive file.
Example for ARJ : arj a RFM.ARJ !TO_ARCH.TXT , (add all files contained in
TO_ARCH.TXT to the file RFM.ARJ).
here the file TO_ARCH.TXT is a plain text file that contains the names
of the files to put into the archive, it might look like this:
RFM.EXE
RFM.PRG
RFM.DOC
(So just three file names). You could also have specified at the prompt
arj a RFM.ARJ RFM.EXE RFM.PRG RFM.DOC , this does the same as with
the filename containing these three files.
If it is possible with the archiver you want to add to use a filename,
you should use this feature. RFM does not use the command line from three
lines above, because if you mark a lot of files in RFM the command line
may exceed 256 bytes, and DOS does not allow this.
You use this feature by specifying "C:\RFM.DAT" in the second line of
RFM_ARCH.DAT instead of the filename (TO_ARCH.TXT for example) you
would use at the DOS prompt. RFM then writes the names of your marked
files to C:\RFM.DAT and puts the archiver to work. You should use this
feature because it is faster.
EXAMPLE : were you to specify the next thing at the prompt
arj a RFM.ARJ !TO_ARCH.TXT
This becomes in RFM_ARCH.DAT
c:\pk\arj.exe a ARCH !C:\RFM.DAT
When you don't use this feature (PAK for instance has not got it) you
have to specify as second line in RFM_ARCH.DAT the command you would use
to add only one file to an archive.
EXAMPLE : pak a rfm.pak rfm.exe (Add rfm.exe to archive file rfm.pak)
becomes in RFM_ARCH.DAT :
c:\pk\pak.exe a ARCH FILE
You see that the word "FILE" takes the place of the filename you want to
add to the ARCHive file.
RFM executes a separate command line for every file to be added if the
above feature of specifying a filename (TO_ARCH.TXT) is not used. So
PAKing the above three RFM-files when they were marked in RFM would
lead to:
c:\pk\pak.exe a RFM.PAK rfm.exe
c:\pk\pak.exe a RFM.PAK rfm.prg
c:\pk\pak.exe a RFM.PAK rfm.doc
This is a lot slower (as you may know) as executing for instance
c:\pk\pak.exe a RFM.PAK rfm.* , which is what happens actually if
you use the feature with the filename.
Last : Just take a look at all lines in RFM_ARCH.DAT as it is distributed to
see how a line should look. (it is not so difficult, I should think)