PATH

Other versions of this page are also available for the following:
Windows Mobile Not SupportedWindows Embedded CE Supported
8/28/2008

This command displays or sets a search path for executable files. This command is an alias for SET PATH.

PATH [path[;...][;%PATH%]
PATH ;

path

Specifies the path for a directory in which the command processor should search for executable files. You can specify multiple directories, separated by semicolons.

;%PATH%

Appends the old path to the new setting of the path specified by path.

Type "PATH ;" to clear all search-path settings and to direct the command processor to search only in the current directory.

Use PATH without parameters to display the current path.

Community Additions

Show: