|
PATH
Sets a directory search order, a batch command. Displays or
sets a search path for executable files.
Syntax
PATH pathname [;pathname] [;pathname] [;pathname]...
PATH
PATH ;
Key
pathname : drive letter and/or folder
; : the command 'PATH ;' will clear the path
Used without parameters, PATH displays the current command
path.
When used as the only parameter, ; deletes the existing
command path value found in the PATH variable.
The operating system always searches in the current
directory first, before it searches the directories in the
command path.
Examples
The following command specifies that Windows is to search
three directories to find external commands.
path c:\reports\sales;b:\reports\may;b:\txt
Cmd Commands
|