Question Locked

SUBST command

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I saw how to create a local drive with the SUBST command, but how do you disconnect this drive if it is no longer needed?

2 replies

by chris910

Subst
Associates a path with a drive letter. Used without parameters, subst displays the names of the virtual drives in effect.

Syntax
subst [drive1: [drive2:]Path]

subst drive1 : /d

Top of page

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.

/d : Deletes a virtual drive.

This discussion is closed to new replies.