home *** CD-ROM | disk | FTP | other *** search
- Command: ASSIGN Type: DOS external command
-
- Purpose: Assigns a drive letter to a different drive.
-
- Syntax: assign [x[=]y[...]]
- where:
-
- x is the drive that DOS currently reads and writes to.
- y is the drive that you want DOS to read and write to.
-
- Comments: The assign command lets you read and write files on drives other
- than A and B for applications that use only those two drives. You
- cannot assign a drive being used by another program, and cannot
- assign an undefined drive.
-
- To ensure compatability with future versions of DOS you should
- use the SUBST command instead of ASSIGN. The following commands
- are equivilent:
-
- assign a = c
- subst a: c:\
-
- Since the assign command disguises the true device type, you
- should NOT use assign
- - with commands that require drive information (backup, restore,
- label, join, subst, print).
- - during normal use of DOS, except as required by a program.
-
- NOTE: Format and Diskcopy ignore drive reassignments.