Category : Assembly Language Source Code
Archive   : DOCFILES.ZIP
Filename : LOCATE.DOC

 
Output of file : LOCATE.DOC contained in archive : DOCFILES.ZIP

LOCATE Steven Holzner
Command PC Magazine Vol 4, No 10
Copyright 1985 Ziff-Davis Publishing Company

______________________________________________________

Purpose: Searches all files in the current and the
root directories of a drive for all
occurrences of any specified sequence (e.g.,
a word or phrase) of up to 20 ASCII
characters. Additional search paths and/or
drives may be specified by using Option 1.

Format: LOCATE searchstring

Remarks: In addition to returning the path(s) and
filename(s) of the file(s) in which the
requested string is found, LOCATE puts
searchstring into a context of up to 20
immediately surrounding characters.

LOCATE.COM is case sensitive; the string to
be found must be typed exactly. The program
does, however, strip "high-order" (non-ASCII)
bits from searchstring, so it can be used,
for example with WordStar document files.

Note:

1. Requires the use of DOS 2.0 or later.

Option 1: Normally, if LOCATE does not find the
requested string either in the current
directory or in the disk's root directory, it
simply exits. It does not automatically
search every subdirectory on every drive.

You can extend the search range, however, by
preparing a simple ASCII file that specifies
additional paths and/or drives. The name of
this file must be PATH.DAT, and it must be
located in the root directory (usually C:\
for hard disks, A:\ for floppies). An
example of such a PATH.DAT file would be

\WORK
\LEVEL1
\A:

Each line in the PATH.DAT file must end with
a carriage return and specifies an additional
path (or drive) for LOCATE to check before it
exits. The PATH.DAT file can be up to 300
bytes in length, and incorrectly specified
entries are ignored.

The use of Option 1 will, of course, slow
down the overall speed of the search.




  3 Responses to “Category : Assembly Language Source Code
Archive   : DOCFILES.ZIP
Filename : LOCATE.DOC

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/