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 ;

Parameters

  • 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.

Remarks

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.

See Also

Reference

Command Processor Commands

Concepts

Command Processor Shell