home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fish 'n' More 1
/
FishNMoreVol1.bin
/
more
/
drive_utils
/
file_finders
/
whereis
/
whereis.doc
< prev
next >
Wrap
Text File
|
1990-01-03
|
1KB
|
28 lines
WhereIs is designed to speed the process of finding files on disks. WhereIs
will go thru a disk and look for a file. When WhereIs finds the file, the
filename is printed followed by the complete path to that file. If the file
cannot be found on that device, an apology about not finding the file is
printed. WhereIs uses 2 parameters: a filename and a device name. Here
are some examples:
WhereIs dir df0: ;will search device df0: for the file dir
WhereIs lc1 cc: ;will search disk CC: for the file lc1
WhereIs blink ;will search the default device for the file blink
Note that if the second parameter is omitted, the current default device is
searched for the file specified in the first parameters.
Where is also distributed with WhereIs (a fast hack of WhereIs). Where
differs from WhereIs in that Where quits as soon as it finds the first
occurance of the file of interest. WhereIs will continue looking until its
searched every subdirectory for multiple occurances of the file of interest.
KNOWN PROBLEMS:
Something I've been unable to determine is why WhereIs cannot find stuff in
the RAM: device. I suspect that some of the system routines don't handle
the RAM: device just right. If you've any insight into this matter, please
tell me.
The makefile I distribute has a dependency structure for Where as well as for
WhereIs. But I can't get Make to update Where. So,I hacked a copy of
makefile and used that.