EasyManua.ls Logo

Commodore PC - Assign

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...
26
MS-DOS
User's
Reference
Assign
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,
andy
is
the
new
drive
that
you
want
msdos
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
and
y.
U
U
u
u
u
u
Setting
drive
assignments
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
msdos.
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
=
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.
u
u
u
u

Related product manuals