|
|
1.1 root 1: WHERE tries to find files
2: ===============================================================================
3: Usage: WHERE [/r dir] [/qte] pattern ...
4:
5: If /q is specified, then WHERE exits with zero if found and 1 if not found.
6:
7: If /t is specified, the time and size of the file is displayed.
8:
9: If /e is specified, the type of executable is displayed.
10:
11: If /r is NOT specified WHERE will attempt to find files matching the patterns
12: by walking environment search strings. By default, WHERE will attempt to find
13: the specified files by walking the PATH environment string. If a pattern is of
14: the following form:
15:
16: $environment-name:filename
17:
18: then WHERE will walk the specified environment name attempting to find the
19: specified file.
20:
21: If /r is specified, WHERE will search dir and its subdirectories looking for
22: files matching the patterns. When /r is specified, a pattern may have only
23: a filename part.
24:
25: The filename part of the pattern may contain wildcards * and ? in the style
26: of the *NIX find command.
27:
28: WHERE bar Find ALL bar along path
29: WHERE $foo:bar Find ALL bar along foo
30: WHERE /r \ bar Find ALL bar on current drive
31: WHERE /r . bar Find ALL bar recursing on current directory
32: WHERE /r d:\foo\foo bar Find ALL bar recursing on d:\foo\foo
33:
34:
35:
36:
37:
38: 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.