help.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
PATH
Notes  Example
────────────────────────────────────────────────────────────────────────────
 
                                    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
 
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.
 
                                      ♦