Assign Ü
ßßßßßßß
Reassigns disk operations from one drive to another. For example,
to reassign disk operations for drive A: to drive B:.
Syntax: ASSIGN [[d:=e:] ...] [/STATUS]
d: Specifies the drive from which you want to redirect read and
write operations. This value must be a letter. The use of the
colon is optional.
e: Specifies the existing drive to which you want to redirect
read and write operations. This value must be a letter. The
use of the colon is optional.
/STATUS
Displays the current assignments
If no drives are named, display the current assignments.
Invalid uses of assign
You should not assign the drive letter of your hard disk to another
drive. You hsould not use assign for a drive that is in use by a
program. You cannot use a hard disk drive that does not exist for
either the d or e parameter.
Using assign for network drives
You can use the assign command for network drives.
Cancelling a previous assignment
Assigning a drive letter to a drive cancels previous assignments to it.
Using the subst command instead
You should use the subst command instead of assign. The following
commands are equivalent:
assign a=c
and
subst a: c:\
See Also:
Subst