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 >
Text File  |  1992-08-24  |  8KB  |  186 lines

  1.                                   RFM
  2.                               version 1.00
  3.                                   by
  4.                               RH-Software
  5.  
  6. This file explains the configuration of RFM and the format of the file
  7. RFM_ARCH.DAT.
  8.  
  9. IMPORTANT : All EXE,PRG and DAT-files need to be in the same directory when
  10.             configuring RFM.
  11.  
  12.  
  13. When you type "RFMCFG" at the DOS-prompt, you will be presented with a
  14. menu of 7 options to choose from.
  15. Only the first option must surely be set, the rest you can alter later,
  16. when the default settings are not to your liking.
  17.  
  18. OPTIONS :
  19.  
  20. 1 : Set directory where RFM and Accompanying files will be copied
  21.     Default : C:\UTILS\
  22.  
  23.     When choosing this option you must type in the directory where you will
  24.     copy ALL files from the package (the DOCS are not needed of course).
  25.     The backslash at the end is not needed. You must copy all files to this
  26.     directory after you have quited RFMCFG.
  27.  
  28.  
  29. 2 : Set number of columns to display at startup (1 or 2)
  30.     Default : 2
  31.  
  32.     When choosing '1' here, files will be displayed in one column, with for
  33.     every file a line containing Filename, Extension, Size, Date, Time
  34.     and Attributes. 
  35.     When choosing '2' here, files will be displayed in two columns, with for
  36.     every file half a line containing Filename, Extension and Size.
  37.     This is only the number of columns displayed at STARTUP. Inside RFM you
  38.     can toggle 1 or 2 column display from the "Disp"-button.
  39.     Displaying files in 2 columns is faster than in 1 column.
  40.  
  41.  
  42. 3 : Set Date format European(DD-MM-YY) or American(MM-DD-YY)
  43.     Default : European
  44.  
  45.     This Date format is used with the dates of the files and with the
  46.     built in clock.
  47.  
  48.  
  49. 4 : Set Date-Time window present at startup (Yes or No)
  50.     Default : Yes
  51.  
  52.     When set to 'Yes' a window will be on screen, displaying the day of the
  53.     week, Date and Time.
  54.     This is only for STARTUP. Inside RFM you can toggle the window presence
  55.     from the "Disp"-button.
  56.  
  57.  
  58. 5 : Add or Delete Archivers
  59.  
  60.     After choosing this option you will be presented with a list of all
  61.     currently present extensions, along with 3 options, namely
  62.     1 : Delete an extension
  63.     2 : Add an extension
  64.     3 : Go to main menu
  65.  
  66.     If you choose "Delete an extension" you will be asked to type in the
  67.     number of the extension to be deleted. The extension will be removed
  68.     and its entries in RFM_ARCH.DAT as well.
  69.     If you choose "Add an extension" you will be asked for the extension
  70.     to add. You must type no more than three characters here, e.g. "LZW".
  71.     After that you will see the message that two lines have been added to
  72.     RFM_ARCH.DAT for the new extension. To get to use the extension you
  73.     have to edit RFM_ARCH.DAT with an ascii-editor to use the right command
  74.     line for this extension. How to do this will be explained below.
  75.  
  76.  
  77. 6 : Set Sort order on startup
  78.     Default : Sort by Extension
  79.  
  80.     All files will be sorted when displayed, if you like. If you choose this
  81.     option you can specify the sort order of the files.
  82.     The possibilities are :
  83.     1 : Sort by Name
  84.     2 : Sort by Extension
  85.     3 : Sort by Size
  86.     4 : Sort by Time
  87.     5 : Don't Sort, i.e. display them in the order they were written onto disk
  88.     REMEMBER this is only for startup, from inside RFM it is possible to
  89.     change the sort order to any other.
  90.  
  91.  
  92. 7 : QUIT RFMCFG
  93.  
  94.  
  95. THE FILE RFM-ARCH.DAT :
  96.  
  97.   This file contains the data of how to execute a command when you click
  98.   on a file with the extension of a present archiver.
  99.   Per archiver it contains two lines, one for extracting a file with this
  100.   extension, and one for creating an archive file with this extension.
  101.     NOTE : For viewing an archive file you need to enter a line in VIEW.CFG,
  102.     the configuration file of V.COM.
  103.  
  104. These lines look as follows:
  105.   The FIRST LINE of every two is the command to extract a file.
  106.   This line looks just like the one you would type at the DOS prompt, except
  107.   that for the archivefilename you need to specify the word "ARCH" (all
  108.   Capitals), and for the Destination Pathname of where to extract the file to,
  109.   you need to specify the word "DEST" (again, all CAPITALS). When you click
  110.   on an archived file in RFM in order to extract it, RFM will pass the correct
  111.   archivefilename and destination to this command line.
  112.  
  113.   Example:
  114.   Were you to type the following at the DOS prompt to extract ARJ files,
  115.     arj x RFM.ARJ c:\utils   i.e. extract file RFM.ARJ to directory C:\UTILS,
  116.   you now type the following for the first line of the ARJ extension
  117.   in RFM_ARCH.DAT :
  118.     c:\pk\arj.exe x ARCH DEST                      , that's all
  119.  
  120.   You see that the complete path of arj.exe is specified. You must do this
  121.   so that RFM doesn't have to search your PATH for arj and/or look for the
  122.   extension (When you specify c:\pk\arj x ARCH DEST , RFM does not know whether
  123.   this arj is a COM, EXE or BAT file). So always specify complete path plus
  124.   extension of the archiver (This is fastest, above all).
  125.     NOTE : By the way, c:\pk\ is my archivers-directory, no obligations to
  126.     use the same for you.
  127.   You can also see that "ARCH" takes the place of the filename(RFM.ARJ), and
  128.   that "DEST" takes the place of the path of where to extract the filename
  129.   (C:\UTILS).
  130.  
  131.  
  132.   The SECOND LINE is to create an archive file containing the files you
  133.   marked inside RFM. Again, for the archivefilename you need to specify
  134.   the word "ARCH".
  135.   Some archive programs (almost all) have the possibility to specify a
  136.   filename on the command line with this file containing all the files to
  137.   put into the archive file.
  138.   Example for ARJ : arj a RFM.ARJ !TO_ARCH.TXT , (add all files contained in
  139.   TO_ARCH.TXT to the file RFM.ARJ).
  140.     here the file TO_ARCH.TXT is a plain text file that contains the names
  141.     of the files to put into the archive, it might look like this:
  142.     RFM.EXE
  143.     RFM.PRG
  144.     RFM.DOC
  145.  
  146.     (So just three file names). You could also have specified at the prompt
  147.        arj a RFM.ARJ RFM.EXE RFM.PRG RFM.DOC   , this does the same as with
  148.     the filename containing these three files.
  149.     If it is possible with the archiver you want to add to use a filename,
  150.     you should use this feature. RFM does not use the command line from three
  151.     lines above, because if you mark a lot of files in RFM the command line
  152.     may exceed 256 bytes, and DOS does not allow this.
  153.     You use this feature by specifying "C:\RFM.DAT" in the second line of
  154.     RFM_ARCH.DAT instead of the filename (TO_ARCH.TXT for example) you
  155.     would use at the DOS prompt. RFM then writes the names of your marked
  156.     files to C:\RFM.DAT and puts the archiver to work. You should use this
  157.     feature because it is faster.
  158.       EXAMPLE : were you to specify the next thing at the prompt
  159.          arj a RFM.ARJ !TO_ARCH.TXT
  160.       This becomes in RFM_ARCH.DAT
  161.          c:\pk\arj.exe a ARCH !C:\RFM.DAT
  162.  
  163.     When you don't use this feature (PAK for instance has not got it) you
  164.     have to specify as second line in RFM_ARCH.DAT the command you would use
  165.     to add only one file to an archive.
  166.       EXAMPLE : pak a rfm.pak rfm.exe  (Add rfm.exe to archive file rfm.pak)
  167.       becomes in RFM_ARCH.DAT :
  168.                 c:\pk\pak.exe a ARCH FILE
  169.  
  170.     You see that the word "FILE" takes the place of the filename you want to
  171.     add to the ARCHive file.
  172.     RFM executes a separate command line for every file to be added if the
  173.     above feature of specifying a filename (TO_ARCH.TXT) is not used. So
  174.     PAKing the above three RFM-files when they were marked in RFM would
  175.     lead to:
  176.       c:\pk\pak.exe a RFM.PAK rfm.exe
  177.       c:\pk\pak.exe a RFM.PAK rfm.prg
  178.       c:\pk\pak.exe a RFM.PAK rfm.doc
  179.     This is a lot slower (as you may know) as executing for instance
  180.       c:\pk\pak.exe a RFM.PAK rfm.*  , which is what happens actually if
  181.     you use the feature with the filename.
  182.  
  183. Last : Just take a look at all lines in RFM_ARCH.DAT as it is distributed to
  184.        see how a line should look. (it is not so difficult, I should think)
  185.  
  186.