home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
137.lha
/
filefind
/
ff12.dox
< prev
next >
Wrap
Text File
|
1986-11-20
|
2KB
|
41 lines
//
\\ //
\X/
FileFind Amiga! Version 1.2 (4-22-88)
Copyright 1988 by Ray Lambert
Usage: FF [DRIVE:[PATH/]]FILENAME ...
[DRIVE:] = Optional drive to scan
[PATH/] = Optional path to begin scan at
FILENAME = File to search for (Wildcards allowed)
FileFind will search all directories beginning with the specified directory
(Default = Root) on the specified drive (Default = Currently logged drive)
for all files which match the specified filename. Wildcards are allowed in
the filename. Version 1.2 now supports MS-DOS wildcards ( * and ? ), as well
as AmigaDOS ( #? ), and it also accepts multiple command line arguments (in
keeping with the spirit of ARP!) Version 1.2 is a full 55% faster than
Version 1.0 mainly because of the use of AmigaDOS' Examine() and ExNext()
instead of Lattice C's dfind() and dnext(). I was able to use a recursive
algorithm to read the directory tree with AmigaDOS' functions that I wasn't
able to use with Lattice's functions. To re-compile FF12.c simply boot with
Lattice and type EXECUTE FF12.C
FileFind will not compile directly with Manx because it uses some functions
that are specific to Lattice.
Usage Examples:
To search current drive for file FF.C type: FF FF.C
To search drive df1: for file FF.C type: FF DF1:FF.C
To list all .c files on drive df1: type: FF DF1:*.C
To list all .c files on drive df1: AND df0: type: FF DF1:*.C DF0:*.C
To list all .c files on drive df1: in directory
df1:Source and all subdirectories of df1:Source type: FF DF1:SOURCE/*.C
//
\\ //
\X/