# Command: append

      APPEND enables programs to open data files in specified
      directories as if the files were in the current directory.

## Syntax:

      APPEND [[drive]path[;...]] [/X[:ON|:OFF]] [/PATH:ON|/PATH:OFF] [/E]
      APPEND ;
      APPEND [/?]
             drive  Drive letter e.g. C:
             path   Directory to append, e.g. \example

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

## Options:

      /X[:ON]    Extend APPEND to searches and command execution.
      /X:OFF     Applies APPEND only to requests to open files.
                 Defaults to /X:OFF
      /PATH:ON   Search appended directories for file requests that already
                 include a path. This is the default setting.
      /PATH:OFF  Switches off /PATH:ON.
      /E         Stores the appended directory list in the environment.
                 /E may be used only in the first invocation of APPEND. You
                 can not include any paths on the same command line as /E.
      APPEND ;   clears the list of appended directories.
      APPEND     without parameters displays the list of appended
                 directories.
      /?         Shows the help.

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

## Comments:

      Do not use APPEND with Windows or 32 bit extenders.
      APPEND installs itself as an internal command after its first execution.
      Second and successive invocations MUST exclude the file path and
      extension of the APPEND command.
      APPEND supports NLS (national language support).

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

## Examples:

        First use:
      C:\command\append.exe D:\Data\df1.dat
        Perfectly legitimate use of the Append command for the first
        invocation of append.
        Wrong second use:
      C:\command\append.exe D:\Data\df2.dat
        Invalid second use. It results in the new append that is loaded by
        command.com seeing itself in memory and exiting with an error.
        Valid second use:
      append D:\Data\df2.dat
        Valid second use. Command.com looks at it's list of internal
        commands sees append and executes it passing it the remainder of
        the command line.

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

## See also:

      path

#### [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 © 2004 Eduardo Casino, updated 2007 by W. Spiegl.

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