Command: assign

  ASSIGN reassigns disk operations from one drive to another.

Syntax:

  ASSIGN [/SHADOW] [/STATUS] [/?]
  ASSIGN [/SHADOW] [/M] [/U] [{drive1[:]=drive2[:]}]
         drive1:  Drive letter to be replaced, e.g. C:
         drive2:  Drive letter to point to, e.g. D:

[Main menu] [top] (Syntax) [Options] [Comments] [Examples] [See also] [File]

Options:

  /SHADOW  Makes ASSIGN's presence in memory difficult to detect.
           Subsequent uses of ASSIGN will issue a warning if 
           the /shadow option isn't used (but still 
           performs the command).
  /STATUS  Display all assigned drive letters.
           If ASSIGN is not already loaded, a message reflects that,
           but ASSIGN is not loaded.
  /M       Attempts to use Upper Memory, instead of conventional 
           memory, to store the ASSIGN.
  /U       Uninstall a previous installed ASSIGN.
  /?       Shows the help

[Main menu] [top] [Syntax] (Options) [Comments] [Examples] [See also] [File]

Comments:

  The ':' characters are optional, between the drive letters and the 
  equal sign '=' no whitespaces are allowed.
  If no drives are named, and /status or /u are not used, 
  then assign is reinstalled (clearing all previous drive assignments).
  ASSIGN has the following EXITCODES (ERRORLEVEL):
    0  success / help
    3  aborted by user (e.g. Ctrl-C)
    4  syntax error
  Do not use assign in combination with the following commands:
    diskcomp
    diskcopy
    format
    label
    print
    restore
    subst

[Main menu] [top] [Syntax] [Options] (Comments) [Examples] [See also] [File]

Examples:

  assign B:=A:
  assign B=A

[Main menu] [top] [Syntax] [Options] [Comments] (Examples) [See also] [File]

See also:

  join
  subst
  swsubst
  truename

[Main menu] [top] [Syntax] [Options] [Comments] [Examples] (See also) [File]

File:

  Please read this command's lsm file also.
  You will find the updated version (internet) here and
  the version described in this manual page here.
  The lsm file contains information about the name of the programmer,
  the download site, and some other command related information.

[Main menu] [top] [Syntax] [Options] [Comments] [Examples] [See also] (File)


  Copyright © 1998 Jim Hall, updated 2007 by W. Spiegl.

  This file is derived from the FreeDOS Spec Command HOWTO.
  See the file H2Cpying for copying conditions.