Allows programs to open data files in specified directories as if they were in the current directory. If used without parameters, append displays the appended directory list.
This command not supported in Windows 10.
append [[<drive>:]<path>[;...]] [/x[:on|:off]] [/path:[:on|:off] [/e] append ;
||Specifies a drive and directory to append.|
|/x:on||Applies appended directories to file searches and launching applications.|
|/x:off||Applies appended directories only to requests to open files. The /x:off option is the default setting.|
|/path:on||Applies appended directories to file requests that already specify a path. /path:on is the default setting.|
|/path:off||Turns off the effect of /path:on.|
|/e||Stores a copy of the appended directory list in an environment variable named APPEND. /e may be used only the first time you use append after starting your system.|
|;||Clears the appended directory list.|
|/?||Displays help at the command prompt.|
To clear the appended directory list, type:
To store a copy of the appended directory to an environment variable named append, type:
If a file with a .COM, .EXE, or .BAT filename extension is to be treated as a data file (for example, if you want to edit the contents of a batch file), its path CAN be specified using the APPEND command. However, if you want to execute the file from any directory, you must specify its location using the PATH command.
Use the APPEND command without options to display the current search path.
Using APPEND followed only by a space and a semicolon (APPEND 😉 deletes previously appended search paths. DOS will then search for data files only on the current drive and directory.
Use the APPEND command to tell DOS where to search for data files if a specified file is not found in the current directory. This means that you will need only one copy of a file on your fixed disk, even if you use it for different purposes. For example, you can store a copy of the file NAMES1.TXT in the directory LISTS and use it (copy from it, insert it into other files) while working in any drive or directory.
Invalid drive designations will not be detected until DOS attempts to use the search path to find a specified file.
Once APPEND has been loaded into memory, you can re-enter the APPEND command to change the specifications from any drive or directory.
The APPEND command CAN be used on a network.