|Purpose:||Associate a path with a drive letter|
|Format:||PSUBST [drive1: [path]]|
PSUBST /D drive1:
PSUBST [/=] /P drive1: [path]
|/=||Display the PSUBST command dialog.|
|drive1:||Specifies a virtual drive to which you want to assign a path.|
|path||Specifies a path you want to assign to a virtual drive (no trailing backslash).|
File Completion Syntax:
The default filename completion syntax is: dirs
PSUBST works like the Windows SUBST command, but the drive substitution is persistent (i.e., when the machine is restarted).
PSUBST with no parameters will display a list of the current virtual drives. If a drive is persistent, it will be prefixed with a *.
Because PSUBST needs to write to the HKLM registry hive, PSUBST must be run in an elevated TCC session.
|/=||Display the PSUBST command dialog to help you set the command line options. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.|