Movatterモバイル変換


[0]ホーム

URL:


Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft EdgeMore info about Internet Explorer and Microsoft Edge
Table of contentsExit editor mode

subst

Feedback

In this article

Associates a path with a drive letter. If used without parameters,subst displays the names of the virtual drives in effect.

Syntax

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

Parameters

ParameterDescription
<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.

Remarks

Examples

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

subst z: b:\user\betty\forms

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:

Related links


Feedback

Was this page helpful?

YesNoNo

Need help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?

  • Last updated on

In this article

Was this page helpful?

YesNo
NoNeed help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?