SUBST

RECENT NEWS

12/18/2015 - Hello! We're excited to announce that Mental Works Computing Software will soon be featuring

12/11/2015 - We're going to announce Dr.Batcher 3.0 Alpha with batch files debugger support soon. If you want to start...

News history...

TESTIMONIALS

Rob van der Woude:
"Mental Works Computing Software has created a nice tool for...

Andrew Jaritsyn:
“I used to write batch files with the help of Notepad, but...

Steve H.:
“This tool helped me to write some batch files in a couple...

More...

SUBST

Creates or deletes a virtual drive by associating a path with a drive letter.

Syntax:

SUBST [Drive1: [Drive2:]Path]

or

SUBST Drive1: /d

Drive1: ‑ drive to be assigned to a path or deleted.

[Drive2:]Path – physical path to be assigned to virtual drive.

/d – deletes the virtual drive.

Usage:

Without any parameters, SUBST command shows the list of virtual drives created with this command.

You cannot perform several commands on virtual drives: chkdsk, diskcomp, diskcopy, format, label, recover.

Though you can use SUBST command to create a virtual drive with the name that is not among characters A..Z and 0..9, it will not be seen in Explorer and the list created by SUBST command.

You can create virtual drives from network folders with NET USE command.

Examples:

Create virtual drive Z: from folder c:\Work\ThisMonth\:

SUBST z: c:\Work\ThisMonth\

 

Subscribe batch files programming newsletter (no spam):

Subscribe

Unsubscribe