NPATH
View NetWare search sequence for a file.
Synopsis
NPATH [utility][filename[,filename
... ]] [/option ... ] [/? | /VER]
Description
Use NPATH at a workstation to view the NetWare search sequence
for a file.
This information helps you troubleshoot why your workstation cannot find
a particular file, why it's finding an incorrect version of the file, or
why it's displaying a foreign language.
NOTE:
When you view your workstation's search sequence for a file, include the
name of the utility in the command. The search sequence depends on the
drive and directory that the utility is executed from.
Options
- utility
-
Specify the name of the utility you are trying to execute.
- filename
-
Specify either the message or the Unicode® filename (and its extension)
that your workstation either cannot find or cannot find the correct
version of.
- /option
-
Specify one or more options from the following:
- A (All)
-
List the path to all occurrences of the file you specify.
- D (Details)
-
View the language, version number, date, and time of the file you specify.
- /Uni /D (Unicode details)
-
View the code page and country code your workstation is set to, the Unicode files needed to run the
NetWare utility, and the path to the first occurrence of each file. Does not require a filename.
- Uni (Unicode)
-
List all paths to Unicode files.
- /?
-
View online help. (Other parameters are ignored.)
- /VER
-
View the version number of the utility and the files it uses to execute.
(Other parameters are ignored.)
Usage
Use NPATH when you try to execute a utility and have one of
the following problems:
-
You get a message that you are missing a message file (an .MSG,
.HEP, .IDX, or .XLT file), or a Unicode
file. This message identifies the file you are missing.
-
You get a message that you have an incorrect version of a message file
(an .MSG, .HEP, .IDX, or .XLT
file). This message shows the version of the file your workstation
found, and the version you need.
-
You get a foreign language displayed on your screen.
-
Your workstation does not find a particular file in its search sequence.
To find your workstation's file search sequence for message files, use
NPATH with no parameters.
If you include a filename in the command, NPATH displays the
path to the first occurrence of the file in the search sequence.
To search for multiple files at the same time, separate the filenames
with commas.
A Unicode file without an extension defaults to the country code.
Unicode files are not required to run NPATH. NPATH
runs without a message file if the correct file is not available.
Because of the way the file search sequence is designed for NetWare
utilities, the same path may be looked at more than once.
Take the following steps if you get a message that you are missing a
file but you know the file is located in a particular directory:
-
Map a search drive to the directory that the file is in. (To make the
search drive permanent, add it to your login script.)
-
Use NPATH if you want to confirm that your workstation can
now find the file in its search sequence.
Take the following steps if you get a message that you are missing a
file and you do not know where the file is located:
-
Check the PUBLIC\NLS\<language> directory.
-
Use NDIR to locate the directory that the file is in if it is
not in the PUBLIC\NLS\<language> directory.
-
Use NWXTRACT to get the file from diskette or CD if
the file is not on any of your drives (if it is not in
PUBLIC\NLS\<language> and NDIR cannot
find it).
-
Map a search drive to the directory that the file is in. (To make the
search drive permanent, add it to your login script.)
-
Use NPATH to confirm that your workstation can now find the
file in its search sequence.
Take the following steps if you get a message that you have the incorrect
version of a file:
-
Use NPATH to view the search sequence your workstation is usin
to find each occurrence and version number of the file.
-
Identify whether the version of the file you need is in the search
sequence. If your workstation finds an older version of a file in the
search sequence before it finds a newer version, the older version is the
one your workstation loads.
-
Run the utility from the directory that the version you need is in if
that version is displayed in the search sequence, or copy the file to your
current directory.
-
Use NWXTRACT to get the file from diskette or CD if
the version you need is not in the search sequence.
-
Use NPATH if you want to confirm that your workstation can now
find the correct version (before any other versions) in its search sequence.
Take the following steps if a foreign language is displayed on your screen
-
Change your NWLANGUAGE environment variable to your native
language.
-
Use the SET NWLANGUAGE = command in the AUTOEXEC.BAT
file.
-
Use NPATH to confirm that your workstation can now find your
native language message files in its search sequence.
Examples
-
To view your workstation's search sequence for message file, type:
NPATH
-
To view the path to the first occurrence of NCOPY.MSG found in
the search sequence, type:
NPATH NCOPY NCOPY.MSG
-
To view the path to each occurrence of FILER.MSG found in the
search sequence. Send file MARCH.PRJ to network printer
P1, type:
NPATH FILER FILER.MSG /A
-
To view the path to the first occurrence of SEND.HEP found in
the search sequence, as well as its language, version number, date, and
time, type:
NPATH SEND SEND.HEP /D
-
To view the path to each occurrence of BIND.VLM in the search
sequence, type:
NPATH BIND.VLM /ANPATH
-
To view the path to each occurrence of TEXTUTIL.MSG (for
NETADMIN) found in the search sequence, as well as each file's
language, version number, date, and time, type:
NETADMIN TEXTUTIL.MSG /A /D
-
To view your workstation's search sequence for the Unicode files needed
to execute, type:
FLAGNPATH FLAG /Uni
-
To view which code page and country code your workstation is set to, the
Unicode files needed to execute RIGHTS, and the path to the
first occurrence of each Unicode file found in the search sequence, type:
NPATH RIGHTS /Uni /D
-
To view the path to the first occurrence of ``UNI_MON.001'' found in the
search sequence, type:
NPATH UNI_MON.001 /Uni
-
To view the path to each occurrence of ``UNI_MON.001'' found in the search
sequence, type:
NPATH UNI_MON.001 /Uni /A
-
To view the code page and country code your workstation is set to, the
Unicode files your workstation needs to run NetWare utilities, and the
path to each occurrence of each file, type:
NPATH /Uni /D /A
© 1999 The Santa Cruz Operation, Inc. All rights reserved.
UnixWare 7 Release 7.1.1 - 5 November 1999