EasyManua.ls Logo

Commodore PC 20 - Page 164

Commodore PC 20
494 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...
126
MS-DOS User's Reference
Assign
Setting drive
assignments
Assign
Purpose:
Assigns a drive
letter
to
a different drive.
Syntax:
assign
x = y
Comments:
The
assign
command
lets you
read
and
write
files
on
drives
other
than
A and B for applications that
use
only
those
two
drives.
In
the
above syntax line, x is
the
drive that MS· DOS
currently
reads
and
writes
to,
and
y is
the
new
drive
that
you
want
MS·DOS
to
read
and
write
to.
Note
that you
can
use
a space
between
the
drive
letters
instead
of
the
equal sign ( =
).
Also,
remember
not
to
type a
colon
after
the
drive letters x
andy.
Warning Because
the
assign
command
hides
the
true
device
type
from
commands
that
require
actual drive information,
you
should
not
use this
command
with
the
backup
or
print
com-
mands
or
during
normal
use
of
MS·
DOS. Also
note
that
two
other
commands,
format
and
diskcopy,
ignore
drive reassignments.
Examples:
To
reset
all drives back
to
their original assignments,
type
the
assign
command
and press
the
RETURN
key. Remember, though,
you
cannot
assign a drive
if
it is
being
used
by
another
program,
and
you
cannot
assign an undefined drive.
To
ensure
compatibility
with
future versions
of
MS·DOS, you
should
use
the
subst
command
instead
of
assign.
The
following com-
mands, therefore, are equivalent:
assign
a = c
subst
a:
c:\
As
a
second
example,
the
following
command
enables you
to
use
drives
other
than A
and
B,
such as a
hard
disk drive, C:
assign
a=c
b=c
All
references
to
drives A and B
would
then
go
to
drive
C.
c
c

Table of Contents

Related product manuals