oem.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
SUBST
Notes  Example
────────────────────────────────────────────────────────────────────────────
 
                                   SUBST
 
Associates a path with a drive letter.
 
The drive letter you assign represents a virtual drive, because you can use
the drive letter in commands as if it were a physical drive.
 
Do not use the SUBST command when Windows is running.
 
Syntax
 
    SUBST [drive1: [drive2:]path]
 
    SUBST drive1: /D
 
To display the names of the virtual drives in effect, use the following
syntax:
 
    SUBST
 
Parameters
 
drive1:
    Specifies the virtual drive to which you want to assign a path.
 
drive2:
    Specifies the physical drive that contains the specified path (if
    different from the current drive).
 
path
    Specifies the path that you want to assign to a virtual drive.
 
Switch
 
/D
    Deletes a virtual drive.
 
Related Command
 
For information about increasing the number of available drive letters, see
the <LASTDRIVE> command.
 
                                      ♦