home *** CD-ROM | disk | FTP | other *** search
- APPEND
-
- APPEND is an external command that tells DOS to search certain directories
- when looking for a file with no extension or an extension other than .EXE,
- .COM, or .BAT, in addition to the current directory. Some versions of DOS
- prior to 3.3 may have this command.
-
- APPEND [/X] [/E]
- or
- APPEND [[d1:]pathname1][;[d2:]pathname2]
- [/PATH] [new DOS 4.0]
-
- [[d:]pathname] is the directory to search for a file.
-
- /X is used to eXtend the use of the APPEND to the .EXE, .COM, and .BAT
- extensions when searching pathnames given on subsequent APPEND commands.
- The default is that such extensions will not be found by APPEND when
- finding files. In some versions of DOS 4.0, /X:ON and /X:OFF can be
- used to turn this function on and off without altering the contents of
- the path. /X:OFF is the default. [Not allowed in OS/2]
-
- /E is used to create the environment variable APPEND which will contain the
- directory list(s) specified on subsequent APPEND command(s). The APPEND
- variable can then be used by other programs, and modified by subsequent
- APPEND commands and the SET command, after APPEND /E creates it.
-
- /PATH is used to control APPEND searching for files when an explicit drive
- letter or pathname is specified with the filename. /PATH:OFF stops
- searches, /PATH:ON allows searches. /PATH:ON is the default.
-
- Multiple directories are specified for the search by separating several
- [[d:]pathname]'s by semicolons (;). The order of the directory search is
- the same as the order they were specified with the APPEND command, but
- the current directory is always searched first.
-
- APPEND with no options will display the current path. Any ASSIGN commands
- used must appear after the first APPEND command. BACKUP and RESTORE should
- not be run when an APPEND path is defined. Turn APPEND off (APPEND ;) first.