When searching for a file specified on the libfile option, directories are searched in the following order:
Current directory
Directories specified by using the libdirectory option
default directories
Directory specified by environment variable LNCOP, if it exists
Directory specified by environment variable COP, if it exists
Directory \COP
If the xdirectory option is specified, only directories specified by using the libdirectory option are searched.
Any filename that contains an explicit directory is checked for only in that directory. No other directories are searched.