Chapter 6 / Command Reference
PATH
PATH
[;][pathname[;pathname
...]
Internal
I I
I ,
~
I '
, I
I '
L..-!
Sets a command path, which tells MS-DOS
the
directories or
drives
in
which to search
for
external commands. MS-DOS
always searches
the
current
directory before
it
searches the
paths
set
by
PATH.
You
can
also use the
PATH
command to
remind you of the
current
path.
Unless you
reset
the
path
or
turn
off
the
system, MS-DOS
searches
the
specified path(s) each time you use
an
external
command.
Parameters
pathname
specifies the drives and/or directories
in
which MS-
DOS searches
for
external commands. If you don't include a
pathname,
PATH
displays
the
current
path
setting. This serves
to remind you which
path
MS-DOS is searching.
If
no
path
is
set
(MS-DOS is searching only
the
current
directory),
PATH
displays
the
message
No
path.
If
you specify
PATH;
(PATH
followed
by
a semi-colon), MS-DOS
resets
the
search
path
to null
(no
path
set).
138
u
,
, I
: I
'~
I i
U
, I
, I
LJ
, i
I I
L-J
I ;
I '
~
I I
I '
~
u
\ I
:--J
J