NetWare 4.1/9000 Concepts
1-183
NetWare Glossary
S
Search modes
Methods of operation that specify how a program will use search drives
when looking for a data file.
When a DOS .EXE or .COM file requires an auxiliary file, it makes an open
request through the operating system. The request may or may not specify
the path to that file.
If a path is specified, the operating system searches that path. Otherwise, it
only searches the default directory.
If the file is not found, the NetWare requester uses the search mode of the
executable file to determine if it should continue looking for the file in the
search drives.
FLAG allows you to set the search mode for executable files individually, or
you can set the requester’s search mode in the NET.CFG file for the majority
of your files.
The following table describes the type of search modes.
Table 1-15 Search modes
Mode Description
0 The default setting for all executable files. The executable file
looks for instructions in the NET.CFG file.
1 The executable file searches the path specified in the file itself. If
there is no path, the file searches the default directory, and then all
search drives.
2 The executable file searches the path specified in the file itself. If
there is no path, the file searches only the default directory.
3 The executable file searches the path specified in the file itself. If
there is no path, the file searches the default directory; then if the
open request is read only, the file searches the search drives.
4 Reserved.
5 The executable file searches the path specified first, and then all
search drives. If there is no path, the file searches the default
directory, and then all search drives.