home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / fileutil / cf.arj / CF.INI < prev    next >
Encoding:
INI File  |  1991-02-18  |  4.4 KB  |  93 lines

  1.  
  2. remark                  AN EXAMPLE CF CONFIGURATION FILE
  3.  
  4. remark   The next non-comment line (containing "[cf]") is necessary, or CF will 
  5. remark   recognise NONE of the lines in this file.  All lines that you want CF 
  6. remark   to recognise, MUST be preceded by a line containing "[<progname>]". 
  7. remark   (Leading and trailing spaces are removed.)  Note that <progname> must 
  8. remark   be changed if you re-name CF.EXE to something else; if, for example, 
  9. remark   you re-name it to COMPDIR.EXE, the line must be changed to say 
  10. remark   "[compdir]".
  11.                                 [cf]
  12.  
  13. remark   These lines WILL be stored by CF because they come after a header (the
  14. remark   line with text surronded by square brackets) that is named as belonging
  15. remark   to CF.
  16.                                 [drivel]
  17.  
  18. remark   However, these will NOT be processed by CF because this data is for
  19. remark   the program expecting to see a header with "drivel" in it.  The
  20. remark   following line will make CF revert to scanning the incoming text:
  21.  
  22.                                 [cf]
  23.  
  24. remark   The "remark" at the start of these lines are not really necessary since
  25. remark   CF only takes note of lines that start with a valid config string.  At
  26. remark   present, CF only stores the first five strings and so you can put
  27. remark   comments on the end of each line.  However, you can do this ONLY if
  28. remark   those lines have their full quota of items.  That is, there must be
  29. remark   at LEAST five items before any following comment.  A semi-colon is NOT
  30. remark   required.  However, it MAY be a requirement later, so it might be a
  31. remark   good idea to put them in.  If there are less than five strings present,
  32. remark   the missing ones are filled with empty strings.  Thus, in the FV lines,
  33. remark   below, only the initial string, file match pattern and the program name
  34. remark   is included since FV needs no other parameters.  By the way, CF, at
  35. remark   present, only stores the first FIFTEEN characters of each string.
  36.  
  37. remark   ---------------------------------------------------------------------
  38. remark   The following lines will allow you to drop the extensions off of any
  39. remark   files that end in .CF, .ZIP or .ARC.  However, this will ONLY work if
  40. remark   there is no corresponding file with the same name but WITHOUT an
  41. remark   extension.  For example, using "CF X" instead of "CF X.CF" is fine as
  42. remark   long as a file does NOT exist with the name of just "X".
  43. remark   ---------------------------------------------------------------------
  44.  
  45. recognise .cf
  46. recognise .zip
  47. recognise .arc
  48.  
  49. remark   ---------------------------------------------------------------------
  50. remark   Programs that are used to access archive files.
  51. remark   ---------------------------------------------------------------------
  52.  
  53. progarch *.zip pkunzip _-v_
  54. progarch *.zip pkzip   _-v_
  55. progarch *.zip fv
  56. progarch *.arc pkunpak _-v_
  57. progarch *.arc pkpak   _-v_
  58. progarch *.arc pkxarc  _-v_
  59. progarch *.arc pkarc   _-v_
  60. progarch *.arc fv
  61. progarch *.arc arc     _v_
  62. progarch *.exe fv      _    _   ; Remember, archives can be self-extracting
  63. progarch *.exe pkunzip _-v_ _   ; .EXE files.  These lines should take care
  64. progarch *.exe pkzip   _-v_ _   ; of those.
  65. progarch *.lzh lharc   _v_
  66.  
  67. remark   ---------------------------------------------------------------------
  68. remark   Programs that are used to view files.
  69. remark   ---------------------------------------------------------------------
  70.  
  71. progview *.com list _ /h        ; Many people rename LIST to L.  Note that
  72. progview *.com l    _ /h        ; CF will NOT pick up "internal" commands.
  73. progview *.exe list _ /h        ; For example, CF would not use the LIST
  74. progview *.exe l    _ /h        ; command of 4DOS, but would go looking
  75. progview *.*   list _ _         ; for LIST.EXE or LIST.COM on your path.
  76. progview *.*   l
  77. progview *.*   cflist _ _       ; In case there are no PROPER viewers around.
  78.  
  79. remark   ---------------------------------------------------------------------
  80. remark   Programs that are used to edit files.
  81. remark   ---------------------------------------------------------------------
  82.  
  83. progedit *.*   q
  84. progedit *.*   pe
  85. progedit *.*   ws _ _n          ; We want non-doc mode, hence the "_n".
  86. progedit *.*   editor
  87. progedit *.*   qed
  88. progedit *.*   fe
  89. progedit *.*   ted
  90. progedit *.*   m
  91. progedit *.*   ne
  92.  
  93.