home *** CD-ROM | disk | FTP | other *** search
- ------------------------ ASSIGN - External DOS Command -------------------------
-
- ASSIGN instructs DOS to use a disk drive other than the one specified.
-
- FORMAT: ASSIGN [x=y [...]]
-
- REMARKS:
-
- "x" is the drive letter that current disk requests are sent to.
- "y" is the drive letter that you want disk requests to be sent to.
-
- ASSIGN with no parameters resets all previous disk assignments back to
- normal.
-
- NOTES: This command assists you in using applications whose disk assignments
- (for program and text files) do not match your needs. Suppose you have a
- program that will read and write data only on the "B" drive. If you want the
- data to be written to the "C" drive, specify ASSIGN b=c.
-
- In DOS Version 3, you may preface ASSIGN with the drive letter and directory
- path, [d:][path], where the command file can be found.
-
- WARNING: Take care to reset disk assignments to normal when the need for
- re-assignment ends. Otherwise you may forget that disks were re-assigned and
- make a serious mistake. For example, suppose you had assigned the A drive to
- the C drive, via ASSIGN A=C. If you then enter ERASE A:*.*, you would erase
- all C drive files. ASSIGN should be used ONLY when necessary. It can "hide"
- the true device from programs and commands that rely on the actual drive
- information. It should never be used with BACKUP, PRINT or for normal DOS
- operations.
-
- EXAMPLE:
-
- Change disk assignments so that disk requests for the A drive will be sent to
- the C drive:
-
- ASSIGN A=C