Center for Technical Education
Computer Technology
Internal DOS Commands


ABOUT PATH
   Path is used to specify the location where DOS looks when using a command. For example when using the command format if the path is not specified to where the command is you will receive bad command or file name.
PATH SYNTAX
   Displays or sets a search path for executable files.
        PATH [[drive:]path[;...]]

        PATH ;         Type PATH ; to clear all search-path settings and direct Windows to search only in the current directory.

       Type PATH without parameters to display the current path.
EXAMPLES
   Path used for Windows 3.x and MS-DOS:
       path=c:\dos; c:\windows.

   Path used for Windows 95/98:
       path=c\windows;c:\windows\command
ADDITIONAL INFORMATION
    DOS limits the path to 122 bytes. Every command is actually limited to 127 bytes however 127 - 5 (minus 5 because of PATH=) = 122.