EasyManua.ls Logo

Commodore PC - Page 161

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...
n
n
n
Subst
Purpose:
Substitutes
a
path
with
a
drive
letter.
Syntax:
subst
[drive:][patb][/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\forms
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
Subst
Creating
a
virtual
drive
n
n
n

Related product manuals