64 MS-DOS User's Reference
Join
JOining a drive
Join
Purpose:
Joins a disk drive to a specific path.
Syntax:
join
[drive: drive:path 1
or
join
drive:
/d
Comments:
With
the
join
command you
don't
need
to
name
physical drives
with separate drive letters. Instead, you can refer
to
all
the
direc-
tories
on
a specific drive
with
one
path.
If
the
path
already existed
before you gave
the
join
command, you
cannot
use it while
the
"join" is
in
effect.
Also,
you
cannot
join a drive
if
it is being
used
by
another
process.
If
the
path
does
not
exist,
MS-DOS
tries to make a directory
with
that path. After you give
the
join
command,
the
first drive name
becomes
invalid, and
if
you
try
to
use it
MS-DOS
displays
the
"Invalid drive"
error
message.
Examples:
You can join a drive only
with
a
root
level directory. For example,
this
command
will work:
join
d:
c:\sales
But
the
following
one
will not:
join
d:
c:\sales\regional
To
reverse
join
("unjoin"), use
the
following format:
join
drive:
/d
Here drive: represents
the
source
drive, and
the
/d
switch turns
off
the
join
command.
If
you just type
the
join
command
by itself,
MSĀ·
DOS displays
the
current
drives that are joined.
[
[
[
[
[
[
[
[
[
[
[
[
[