|
|
Microsoft OS/2 SDK 12-15-1987
WHERE tries to find files
===============================================================================
Usage: WHERE [/r dir] [/qte] pattern ...
If /q is specified, then WHERE exits with zero if found and 1 if not found.
If /t is specified, the time and size of the file is displayed.
If /e is specified, the type of executable is displayed.
If /r is NOT specified WHERE will attempt to find files matching the patterns
by walking environment search strings. By default, WHERE will attempt to find
the specified files by walking the PATH environment string. If a pattern is of
the following form:
$environment-name:filename
then WHERE will walk the specified environment name attempting to find the
specified file.
If /r is specified, WHERE will search dir and its subdirectories looking for
files matching the patterns. When /r is specified, a pattern may have only
a filename part.
The filename part of the pattern may contain wildcards * and ? in the style
of the *NIX find command.
WHERE bar Find ALL bar along path
WHERE $foo:bar Find ALL bar along foo
WHERE /r \ bar Find ALL bar on current drive
WHERE /r . bar Find ALL bar recursing on current directory
WHERE /r d:\foo\foo bar Find ALL bar recursing on d:\foo\foo
KEYWORDS: WHERE find walk path environment
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.