Skip navigation

JSI Tip 3462. The APPEND command.

Enables programs to open data files in specified folders as if these files were in the current folder.

The specified folders are called appended folders because, for the sake of opening data files, they can be found as if they were appended to the current folder.

append \[;\] drive"" href="?topic=\]path\[;...">\]path\[;... \[/x:\{on | off\}\]\[/path:\{on | off\}\] \[/e\]

Parameters

;

Cancels the list of appended folders.

\[drive:\]path

Specifies the drive (if other than the current drive) and folder that you want to append to the current folder. You can specify multiple entries of \[drive:\]path, separating the entries with semicolons. When used by itself, append cancels the existing list of appended folders.

/x:\{on | off\}

Specifies whether the MS-DOS subsystem is to search appended folders when executing programs. If you use the /x:on switch, the program does search appended folders. If you use the /x:off switch, the program does not search appended folders. You can abbreviate /x:on to /x. If you want to specify /x:on, you must do it the first time you use append after starting your system. After that, you can switch between /x:on and /x:off.

/path:\{on | off\}

Specifies whether a program is to search appended folders for a data file when a path is already included with the name of the file the program is looking for. The default setting is /path:on.

/e

Assigns the list of appended folders to an environment variable named APPEND. This switch can be used only the first time you use append after starting your system. If you use /e, you can use the set command to display the list of appended folders. For information about environment variables, click set in the Related Topics list.

NOTE: See your command help:

              Tip 2815 » Windows 2000 CMD help.

              Tip 0109 » Getting Windows NT command help.


Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish