home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 6 File
/
06-File.zip
/
fyf120.zip
/
FYF.INI
< prev
next >
Wrap
INI File
|
1996-03-21
|
6KB
|
144 lines
; FindYourFile INI file.
;
; This files follows the WINDOWS convention of INI files. Any lines
; containing a semicolon ; in the first position are treated as
; comment lines. Sections are enclosed in brackets, and entries are
; in the format entry-name=value.
;
; If you specify an entry in the INI file and the same parameter
; on the command line the command line entry will take precedence.
;
; THIS INI FILE MUST BE LOCATED IN THE SAME DIRECTORY WHERE THE
; FYF.EXE IS LOCATED OR FYF WILL NOT FIND IT!!!!!!!!!!!!!!
;
;
[display-format]
;output-line
; This defines the format of the line displayed for all found files.
; Eight different variable names may be used.
;
; $S = size of the file.
; $D = date of the file.
; $T = time of the file.
; $A = attributes of the file.
; $P = directory where the file was found.
; $F = full name of the file found. E.G. TEST.DAT
; $N = name portion of the file found.
; $X = extention portion of the file found.
;
; Spaces in the format string results in spaces on the screen.
;
; The $P,$F,$N and $X variables may optionally have a field size
; specified. If a field size is specified the data displayed will be
; truncated if the field size is smaller than the data to display, or
; padded with blanks on the right to expand the data.
; If no size is specified the entire data string is displayed on the
; screen.
;
; Any text that appears after the = will also be displayed on the screen
; or copied to redirected output. Using this facility allow you to
; dynamically create OS/2 CMD files.
;
; The output line format may also be entered on the command line using
; the /OF parameter. Just be sure to enclose the complete /OF parameter
; in quotes.
; E.G. FYF *.bat "/OFCOPY $P$F E:\TEMP"
;
; EXAMPLE:
; $N10 $X3 = display filename for first ten positions, a blank and
; the file extension for three positions.
;
; The default is output-line=$s $d $t $a $p $f
;
;
;REMOVE THE SEMICOLON ON THE NEXT LINE TO SPECIFY OUTPUT-LINE FORMAT.
;OUTPUT-LINE=$S $D $N8 $X3 $P
;
;
[user-exits]
; FYF Allows you to specify a program or a command file that will be
; executed prior to FYF searching for files and after the search is
; complete. The program or command file must be:
; 1) In the current directory.
; 2) In a directory listed in the path.
; 3) or fully qualified, including drive, and directory.
;
; If FYF can not locate the CMD or program to execute - or -
; the CMD or program ends with a non zero return code FYF will
; issue a message to the console.
;
; The PRE and POST user exits can be specified on the command line
; using the /PRE and /POST command line options. Be sure to
; enclose the /PRE and /POST options in quotes.
; E.G. FFOS2 e:\*.bat "/predir e:\temp" "/postdir e:\os2"
;
;
;REMOVE THE SEMICOLONS ON THE NEXT 2 LINES TO USE PRE AND POST EXITS.
;pre-cmd=dir e:\temp
;post-cmd=dir e:\up
;
;
[defaults]
; This section allows the user to setup some user defaults.
; The default-drives keyword indicates which drives to search for files
; on if no drives are specified along with the file specification(s) to
; search for. If default-drives is not specified all locally attached
; drives will be searched.
; EXAMPLE:
; If default-drives=cd is specified and you enter the following command:
; FYF c:\*.exe *.dat
;
; Then the C drive will be searched for all .EXE files and
; the C and D drive will be searched for all .DAT files.
;
; The network-drives and cd-drives keywords take a 0 or a 1 indicating
; 1 for YES and 0 for NO. These allow the user to setup searching on
; network drives and cd-drives without having to use the /NET and /CD
; command line parameters. If network-drives is set to a 1 and the
; /NET command line switch is specified network drive searching is
; de-activated. The cd-drives keyword and /CD command line switch
; function the same way.
;
; NOTE: When FYF builds the list of drives to search it is smart enough
; to remove duplicate drive letters before performing the search.
;
; The compressed-search keyword tells FYF to search for files inside
; compressed files. If this options is activated in the FYF.INI file
; it can be temporarily de-activated from the command line by using
; the /IC command line switch.
;
; The output-file keyword tells FYF to put the results of the search
; into an output file instead of displaying the results on the screen.
; This is the same as using the /FILE command line option. If you
; specify the output-file keyword in the FYF.INI file and the /FILE
; parameter on the command line output will be directed to the screen.
; If you wish to redirect output to another filename and you have the
; output-file keyword in the FYF.INI file code the command line as
; follows:
; FYF *.c /FILE "/FILEe:\new.out"
;
; The first /FILE parm turns off writing to a file, the second /FILE
; parm turns on writing to a file using a new name.
;
; You can also do the following:
; FYF *.c /FILE > e:\new.out
;
; THE ADVANTAGE OF USING THE /FILE PARAMETER is: The file specified
; in the /FILE parameter or the output-file keyword in the
; FYF.INI file is closed prior to running the post-cmd user exit. If you
; use redirection the redirected file is NOT closed prior to running the
; post-cmd user exit. Using the /FILE parameter allows the following:
; FYF *.c "/FILEe:\fyf.out" "/POSTe e:\fyf.out"
;
; This will run FYF, put the file listing into e:\fyf.out and will
; then invoke the e editor on the e:\fyf.out file.
;
;
;
;default-drives=cde
;network-drives=1
;cd-drives=0
;compressed-search=1
;output-file=e:\fyf.out
[registered]