Site hosted by Angelfire.com: Build your free website today!

MS-DOS External Commands

The SUBST Command

Description:

Associates a path with a drive letter.

Command Syntax:

SUBST [drive1: [drive2:]path]
SUBST drive1: /D

Explanation of Syntax:

[drive1:] specifies a virtual drive to which you want to assign a path.
[drive:2]path specifies a physical drive and path you want to assign to a virtual drive.
[/D] deletes a substituted (virtual) drive.

Type SUBST with no parameters to display a list of current virtual drives.

Command Use:

This command can be used at the command prompt and in batch files.