SUBST+Substituting Drive Designators
Allows you to substitute a different drive designator for a
drive or a path.
MS-DOS equivalent: SUBST (3.0+)
[d:][path] SUBST d1: d2:path
[d:][path] SUBST d1: /D
[d:][path] Specifies the drive letter and path that
contain the SUBST command file.
d1: Indicates the new drive designator.
d2:path Indicates the existing drive and path.
/D Deletes the specified substitution.
Whenever D: is used, the path name C:\VERY\LONG\PATH\NAME is
displays the currently defined substitutions.
Cannot SUBST to a network drive
You cannot substitute a drive for a network path or substitute a
network drive for a local path.
To discontinue the currently defined substitutions, enter
for each substitution.
Because SUBST substitutes drive letters for path names, it
can be used to fool programs that do not recognize path names
into using them indirectly. SUBST can be used with certain
programs that do not recognize paths and can also be used as a
type of shorthand for long path names.
[For related topics, press R]
|file: /Techref/DOS/command/subst.htm, 1KB, , updated: 1999/2/20 10:24, local time: 2022/12/5 07:26,
|©2022 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://www.massmind.org/Techref/DOS/command/subst.htm"> DOS command subst</A>
|Did you find what you needed?|
Welcome to massmind.org!
Welcome to www.massmind.org!