CmdID

CmdID / Commands

subst

Associates a path with a drive letter. Windows commands reference

On Windows File subst.exe

Opens CmdID with your command. It is read in your browser and sent nowhere.

Windows

from the Windows commands reference, CC BY 4.0

Associates a path with a drive letter. If used without parameters, subst displays the names of the virtual drives in effect. - The following commands don't work and must not be used on drives specified in the subst command: - chkdsk command diskcomp command diskcopy command format command label command recover command - The <drive1> parameter must be within the range that is specified by the lastdrive command. If not, subst displays the following error message: Invalid parameter - drive1:

subst [<drive1>: [<drive2>:]<path>]
subst <drive1>: /d

To create a virtual drive z for the path b:\user\betty\forms, type

subst z: b:\user\betty\formsIdentify

Instead of typing the full path, you can reach this directory by typing the letter of the virtual drive followed by a colon as follows

z:
<drive1>:Specifies the virtual drive to which you want to assign a path.
[<drive2>:]<path>Specifies the physical drive and path that you want to assign to a virtual drive.
/dDeletes a substituted (virtual) drive.
/?Displays help at the command prompt.

Windows

from tldr-pages, CC BY 4.0

Associate a path with a virtual drive letter.

List active associations

Add an association

subst Z: C:\Python2.7Identify

Remove an association

subst Z: /dIdentify
/dDeletes a substituted (virtual) drive. Windows commands reference