• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 5. Understanding Files and Direc... > Helping DOS Find Files with PATH

Helping DOS Find Files with PATH

When you issue a DOS command, COMMAND.COM, the command interpreter, looks first to see whether the command is internal to DOS. If the command is not internal, DOS looks on the disk for a filename having the same name as the command.

In this regard, both external DOS commands and other executable files have equal status. Files having the extensions .EXE, .COM, and .BAT are all considered by DOS to be executable program files. DOS simply looks for any executable file having the same name as the command-line keyword. It then runs the first file it finds.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint