SUBST
(from Substitute)
Associates a path with a virtual drive letter.
SUBST [drive1: {[drive2:]path | /D} ]
Where:
drive1:
- Specifies a virtual drive to which the specified path is assigned (choose an unused letter).[drive2:]path
- Specifies a directory path associated withdrive1:
./D
- Deletes the drive specified virtual drive (drive1:
).
Without any parameters, displays the current virtual drives.
Examples:
1. Associates Y:
with the path C:\WINDOWS\system32
:
subst Y: "C:\WINDOWS\system32"
2. Deletes the virtual drive Y:
:
subst Y: /d
Comments