Append


Applies To: Windows Server 2008

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


Copy Code

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

Parameters

Parameter

Description

[<Drive>:]<Path>

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.

/x:off 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.

Examples

To clear the appended directory list, type:


Copy Code

append ;

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


Copy Code

append /e

Additional references

Command-Line Syntax Key