PATH
Indicates which directories MS-DOS should search for executable files.
MS-DOS uses the PATH command to search for executable files in the
directories you specify. By default, the search path is the current
directory only.
Syntax
PATH [[drive:]path[;...]]
To display the current search path, use the following syntax:
PATH
or
For %%_ in (off %path%) do Echo %%_
To clear all search-path settings other than the default setting (the
current directory), use the following syntax:
PATH ;
Parameters
[drive:]path
Specifies a drive, directory, and any subdirectories to search.
;
When used as the only parameter, clears all search-path settings and
specifies that MS-DOS is to search only the current directory.
Related Command
For information about setting a search path for data files, see the
<APPEND> command.
|