" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#008000" VLINK="004000" ALINK="#00C000">
ASSIGN COMMAND
Purpose: Changes the drive letter for input/output operations and so makes
the system to use that other drive.
Syntax: [d:] [path\]ASSIGN [x[:]=y[:][...]]
or
[d:] [path\]ASSIGN /S[TATUS]
Type: External command
Description:
The ASSIGN command is included into the operating system to make it
easier to work with software, which only use drives A and B for input/output
operations. Redefining the drives by the
ASSIGN a=c b=c
command allows You to use hard drive for an application program which may
work only with drives A and B.
Parameters:
[d:] [path\] - drive and directory, where the ASSIGN.COM file is located
x - the initial drive
y - the drive which will be used for accessing the drive x
Notes:
1. The ASSIGN command doesn't require a colon mark after the drive letters.
2. If you use the ASSIGN command without any parameters, it will reset all
previous drive assignments.
3. Using the ASSIGN command with the /S switch shows the current state of
the redefinition.
4. You should change drive assignment only when it is necessary. The ASSIGN
command cannot be used with BACKUP, RESTORE, LABEL, JOIN, SUBST and PRINT
commands. FORMAT, DISKCOPY and DISKCOMP ignore all disk reassignments,
made by the ASSIGN command.
Examples:
C> ASSIGN a=c
With this command all references to the drive A: go to the drive C:.
Thus, if you enter DIR A: upon the execution of this command, information
about the drive C: will be displayed.
C> ASSIGN
This command resets all previous drive reassignments.