Computer and Software Support

DOS Command Assign

Syntax - Assign Source = Target /status

  • Assign  - Assign with no switches cancels redirected drive assignments and sets them back to their original drives.
  • Source - Letters of source drives
  • Target - Letters of target drives

Example  Assign A: = B:

The assign command doesn't work with diskcopy, format, diskcomp, join, backup, label, print, restore, or subst.

In versions before 5.0, don't use a colon after the drive letter.

This page is from I pasted it on my website to avoid possible broken links. For further help with DOS commands, Check out.