Misplaced Pages

SUBST: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactivelyNext edit →Content deleted Content addedVisualWikitext
Revision as of 06:32, 16 November 2005 editJiy (talk | contribs)3,764 edits creating redirect  Revision as of 05:52, 29 June 2006 edit undoDraicone (talk | contribs)2,734 edits Addition of DOS command detailsNext edit →
Line 1: Line 1:
#redirect ] '''Are you looking for ]?'''

== DOS Command 'subst' ==
''subst'' is a DOS command 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.

== Usage ==
This is the description as output by DOS under XP:

Associates a path with a drive letter.
subst path]
subst drive1: /D
drive1: Specifies a virtual drive to which you want to assign a path.
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: you would use '''subst X: C:\''' at command line. Upon doing this, a new drive called X: would appear under 'My Computer'. The command subst is available in post-Win2k DOS command prompts.

Revision as of 05:52, 29 June 2006

Are you looking for Misplaced Pages:Template substitution?

DOS Command 'subst'

subst is a DOS command 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.

Usage

This is the description as output by DOS under XP:

Associates a path with a drive letter.
subst path]
subst drive1: /D
drive1:        Specifies a virtual drive to which you want to assign a path.
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: you would use subst X: C:\ at command line. Upon doing this, a new drive called X: would appear under 'My Computer'. The command subst is available in post-Win2k DOS command prompts.