Microsoft DOS path command
Path is used to specify the location where MS-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. See our path definition for a full explanation and examples of paths on computers.
The path command is an internal command that is available in the below Microsoft operating systems.
Displays or sets a search path for executable files.
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.
This is where many MS-DOS commands are stored for Window. If you cannot run a command try typing this command at the prompt to make the command line look in this directory for available commands. However, if you have another file in another directory such as C:\DOS it will no longer look there.
DOS limits the path to 122 bytes. Every command is limited to 127 bytes; however, 127 - 5 (minus 5 because of PATH=) = 122.