home *** CD-ROM | disk | FTP | other *** search
INI File | 1991-02-18 | 4.4 KB | 93 lines |
-
- remark AN EXAMPLE CF CONFIGURATION FILE
-
- remark The next non-comment line (containing "[cf]") is necessary, or CF will
- remark recognise NONE of the lines in this file. All lines that you want CF
- remark to recognise, MUST be preceded by a line containing "[<progname>]".
- remark (Leading and trailing spaces are removed.) Note that <progname> must
- remark be changed if you re-name CF.EXE to something else; if, for example,
- remark you re-name it to COMPDIR.EXE, the line must be changed to say
- remark "[compdir]".
- [cf]
-
- remark These lines WILL be stored by CF because they come after a header (the
- remark line with text surronded by square brackets) that is named as belonging
- remark to CF.
- [drivel]
-
- remark However, these will NOT be processed by CF because this data is for
- remark the program expecting to see a header with "drivel" in it. The
- remark following line will make CF revert to scanning the incoming text:
-
- [cf]
-
- remark The "remark" at the start of these lines are not really necessary since
- remark CF only takes note of lines that start with a valid config string. At
- remark present, CF only stores the first five strings and so you can put
- remark comments on the end of each line. However, you can do this ONLY if
- remark those lines have their full quota of items. That is, there must be
- remark at LEAST five items before any following comment. A semi-colon is NOT
- remark required. However, it MAY be a requirement later, so it might be a
- remark good idea to put them in. If there are less than five strings present,
- remark the missing ones are filled with empty strings. Thus, in the FV lines,
- remark below, only the initial string, file match pattern and the program name
- remark is included since FV needs no other parameters. By the way, CF, at
- remark present, only stores the first FIFTEEN characters of each string.
-
- remark ---------------------------------------------------------------------
- remark The following lines will allow you to drop the extensions off of any
- remark files that end in .CF, .ZIP or .ARC. However, this will ONLY work if
- remark there is no corresponding file with the same name but WITHOUT an
- remark extension. For example, using "CF X" instead of "CF X.CF" is fine as
- remark long as a file does NOT exist with the name of just "X".
- remark ---------------------------------------------------------------------
-
- recognise .cf
- recognise .zip
- recognise .arc
-
- remark ---------------------------------------------------------------------
- remark Programs that are used to access archive files.
- remark ---------------------------------------------------------------------
-
- progarch *.zip pkunzip _-v_
- progarch *.zip pkzip _-v_
- progarch *.zip fv
- progarch *.arc pkunpak _-v_
- progarch *.arc pkpak _-v_
- progarch *.arc pkxarc _-v_
- progarch *.arc pkarc _-v_
- progarch *.arc fv
- progarch *.arc arc _v_
- progarch *.exe fv _ _ ; Remember, archives can be self-extracting
- progarch *.exe pkunzip _-v_ _ ; .EXE files. These lines should take care
- progarch *.exe pkzip _-v_ _ ; of those.
- progarch *.lzh lharc _v_
-
- remark ---------------------------------------------------------------------
- remark Programs that are used to view files.
- remark ---------------------------------------------------------------------
-
- progview *.com list _ /h ; Many people rename LIST to L. Note that
- progview *.com l _ /h ; CF will NOT pick up "internal" commands.
- progview *.exe list _ /h ; For example, CF would not use the LIST
- progview *.exe l _ /h ; command of 4DOS, but would go looking
- progview *.* list _ _ ; for LIST.EXE or LIST.COM on your path.
- progview *.* l
- progview *.* cflist _ _ ; In case there are no PROPER viewers around.
-
- remark ---------------------------------------------------------------------
- remark Programs that are used to edit files.
- remark ---------------------------------------------------------------------
-
- progedit *.* q
- progedit *.* pe
- progedit *.* ws _ _n ; We want non-doc mode, hence the "_n".
- progedit *.* editor
- progedit *.* qed
- progedit *.* fe
- progedit *.* ted
- progedit *.* m
- progedit *.* ne
-
-