Subst
From Wikipedia, the free encyclopedia
- The correct title of this article is subst. The initial letter is shown capitalized due to technical restrictions.
- Within Wikipedia,
subst:
may refer to Template substitution.
subst
is a command on the DOS operating system used for substituting paths on physical and logical drives as virtual drives. In the past it has been used for revealing hidden drives on security-tense PCs. The command subst
is available in post-Windows 2000 DOS command prompts.
[edit] Usage
This is the description as output by DOS under Windows XP:
Associates a path with a drive letter. subst [drive1: [drive2:]path] subst drive1: /D drive1: Specifies a virtual drive to which you want to assign a path. [drive2:]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.
This means that, for example, to map C:'s root to X: one would use subst X: C:\
at command line. Upon doing this, a new drive called X: would appear under 'My Computer'.
![]() |
This operating system-related article is a stub. You can help Wikipedia by expanding it |