Batch Script - SUBST


Advertisements


This batch command assigns a drive letter to a local folder, displays current assignments, or removes an assignment.

Syntax

Subst [driveletter]

Example

@echo off 
Subst p:

Output

P: will be assigned as the drive letter for the current folder.


batch_script_commands.htm

Advertisements