At which location commands are stored in Microsoft DOS command infopath?

There are a number of queries in my mind related to Microsoft DOS command infopath. How we can identify the location where Microsoft DOS looks while using a command? How we can display or set a search path for the executable files ? What is the limit for path and command in MS-DOS, can we reset the limit?
