SUBST(DOS) UNIX System V SUBST(DOS)
Name
subst - substitutes a path with a drive letter
Syntax
subst [drive:][path][/d]
Description
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 enter subst 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
pathname b:\user\betty\forms:
subst z:b:\user\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:
Notes
subst is an external command.
SUBST(DOS) (printed 8/16/89) SUBST(DOS)