beautypg.com

Avery Dennison 6037 Rev. AA 3/04 Programmer Manual User Manual

Page 180

background image

5-60 Utility Descriptions

S U B S T

The SUBST command allows one drive to appear as another drive. This
is useful for creating a consistent drive letter when the drive and/or path
may change.

Syntax

SUBST [drive1: [drive2:]path] or SUBST drive1: /D

Options

The /D switch disables the substituted drive letter (un-installs it).
The

drive1 argument must be currently unassigned and non-substed.

The

drive2 and path arguments must be a valid drive and/or directory.

Remarks

SUBST without any options displays the currently substituted drives. The
path may be any legal DOS path, including network drives. DOS by
default will not reserve room for extra drive letters. The LASTDRIVE
command will be required to make available extra drive letters.

Examples

SUBST e: b:\subdir

SUBSTitute drive E: to use B:\SUBDIR

SUBST

Displays all SUBSTituted drives.

SUBST e: /D

Drive E: is no longer SUBSTituted.