EasyManua.ls Logo

Commodore PC - Path

Commodore PC
414 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
72
MS-DOS
User's
Reference
U
Path
Path
I
Purpose:
{^J
Sets
a
command
search
path.
Syntax:
i^J
path
[drive\]\path][idrive:]\path\..\
path;
w
Comments:
)
The
path
command
lets
you
tell
ms-dos
which
directories
to
search
for
external
commands
after
it
searches
your
working
directory.
The
default
value
is
no
path.
,
\
For
instance,
to
tell
ms-dos
to
search
the
\user\pete
directory
for
external
commands,
you
would
simply type
the
path
command
followed
by
the
directory
name
\user\pete.
Then,
until
you
exit
i
\
ms-dos
or
set
another
path,
ms-dos
searches
the
\user\pete
direc-
^-^
tory
for
external
commands.
You
can
tell
ms-dos
to
search
more
than
one
path
by
specifying
<
\
several
paths
separated
by
semicolons.
If
you
use
the
path
com-
^—
mand
without
options,
it
prints
the
current
path.
And
if
you
use
the
following
command,
ms-dos
sets
the
NUL
path:
,
.
path
;
This
command
means
that
ms-dos
searches
only
the
working
direc-
\^_J
tory
for
external
commands.
Example:
i
\
Setting
a
search
path
The
following
command
tells
ms-dos
to
search
three
directories
to
find
external
commands
(the
three
paths
for
these
directories
are
\user\pete,
b:\user\emily,
and
\bin):
I
)
path
\user\pete;b:\u5er\emily;\bin
ms-dos
searches the paths
in
the
order
specified
in
the
path
command.
U

Related product manuals