SUBST+Substituting Drive DesignatorsAllows you to substitute a different drive designator for a
drive or a path.
VERSION
PC-DOS 3.0+
MS-DOS equivalent: SUBST (3.0+)
TYPE
External
SYNTAX
[d:][path] SUBST d1: d2:path
or
[d:][path] SUBST d1: /D
or
[d:][path] SUBST
OPTIONS
[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.
EXAMPLES
SUBST D:C:\VERY\LONG\PATH\NAME
Whenever D: is used, the path name C:\VERY\LONG\PATH\NAME is
substituted.
SUBST
displays the currently defined substitutions.
MESSAGE
Cannot SUBST to a network drive
You cannot substitute a drive for a network path or substitute a
network drive for a local path.
UNDO
To discontinue the currently defined substitutions, enter
SUBST d:/D
for each substitution.
NOTE
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]
SEE ALSO
ASSIGN Command
BREAK Command
CHKDSK Command
COMMAND Command
CTTY Command
DISKCOMP Command
DISKCOPY Command
EXE2BIN Command
FASTOPEN Command
JOIN Command
PROMPT Command
RESTORE Command
file: /Techref/dos/command/subst.htm, 1KB, , updated: 1999/2/20 11:24, local time: 2024/9/1 04:07,
3.137.180.173:LOG IN
|
©2024 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://sxlist.com/Techref/dos/command/subst.htm"> dos command subst</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.