Table of contents
TOC
Collapse the table of content
Expand the table of content

append

Corey Plett|Last Updated: 11/16/2016

Applies To: Windows Server 2016, Windows Server 2012 R2, Windows Server 2012

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. for examples of how to use this command, see Examples.

Syntax

append [[<Drive>:]<path>[;...]] [/x[:on|:off]] [/path:[:on|:off] [/e] 
append ;

Parameters

ParameterDescription
[:]Specifies a drive and directory to append.
/x:onApplies appended directories to file searches and launching applications.
/x:offApplies appended directories only to requests to open files.

/x:off is the default setting.
/path:onApplies appended directories to file requests that already specify a path. /path:on is the default setting.
/path:offTurns off the effect of /path:on.
/eStores 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.

Examples

To clear the appended directory list, type:

append ;

To store a copy of the appended directory to an environment variable named append, type:

append /e

additional references

Command-Line Syntax Key

© 2017 Microsoft