EasyManua.ls Logo

Commodore PC 20 - Page 227

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...
[-
Subst
Purpose:
Substitutes a
path
with
a drive letter.
Syntax:
subst
[drive: )(path ](/d)
Comments:
The
subst
command
lets
you
associate a
path
with
a
drive
letter.
This
drive
letter
then
represents
a
virtual
drive
because
you
can
use
the
drive
letter
in
commands
as
if
it
represented
an
actual
drive.
When
MS·DOS finds a
command
that
uses
a virtual drive, it
replaces
the
drive
letter
with
the
path.
If
you
type
the
subst
command
by
itself, MS·
DOS
displays
the
names
of
the
virtual drives
in
effect.
To
delete
a virtual
drive
you
use
the
/d
switch.
Example:
The
following
command
creates
a virtual drive,
Z,
for
the
path-
name
b:
\ user \
betty
\forms:
5ub5t
Z:b:\u5er\betty\form5
Now, instead
of
typing
the
full
pathname,
you
can
get
to
this
directory
by
simply typing
the
name
of
the
virtual drive:
z:
MS-DOS Commands
89
i
Subst
Creating a virtual
drive

Table of Contents

Related product manuals