Share via


PATH

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

Command Processor Commands | Command Processor Shell

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.