i
i :
r-"l
I •
,..,
I ,
i
~
I
Chapter 6 /
Command
Reference
JOIN
I
(ifJ
1 JOIN [drive:]
[pathname]
[lD]
Joins a disk drive to a specific pathname.
Parameters
drive: is the drive to be joined.
pathname is
the
drive
and
directory to which drive is joined.
/D
turns
off
the
effects of a previous JOIN command.
You
cannot
use
/D
with
the
pathname parameter.
Notes
and
Suggestions:
• JOIN
links
the
root of a specified drive to a different path-
name.
If
the
path
already exists,
it
must
be empty.
•
If
the
pathname
does not exist, JOIN tries to make a directory
with
that
pathname.
After you issue the JOIN command, the
first drive name becomes invalid.
If
you
try
to use
that
drive
name, MS-DOS displays
the
error message, Invalid drive.
•
You
can
only join a drive to a first level subdirectory, such as
join
d:
c:\memos.
However,
jOln
d:
c:\memos\june
is
incorrect.
•
To
undo
the
effects of a JOIN command, use
this
format:
join
drive:
/d
drive: represents
the
drive you wish to deselect. The
/D
switch
turns
off
the
effects of
the
JOIN command.
•
To
display
the
current
JOIN
status,
type:
j 0 i n I
ENTER
I
Examples:
jOln
b:
a:\hardware
Joms
the
root directory of
B:
to the directory name
A:\HARDWARE.
Now,
when you type
a:
\hardware,
MS-DOS
assumes you
mean
the
root directory of Drive
B.
117