IV COMMAND.COM and Basic DOS Commands
COMMAND.COM has some commands built into it.
Examples of internal commands include;
Since these are built into the interpreter, they're known as internal commands.
Interestingly, other support programs exist with DOS, however they do not exist inside the interpreter. Rather, theyre stored as separate files on the disk. This is a compromise, because if all the programs were internal, they would be using up memory. In general, the designers of DOS tried to put the most often used, reasonably small, programs into DOS as internal commands, and left the others as external programs.
Examples of external programs include:
Since they're not inside the interpreter, they are known as external commands.
When typing a command, at the prompt there will be typing either after a letter followed by a colon (:) - for example, C:\>. This tells DOS that you wish to work with the C drive. This is known as the drive specification. To change the drive specification, simply enter a valid drive letter followed by a colon, then press the Enter key.
DOS is intended to be compact and unobtrusive. This means that when the command has been successfully entered, it does the job it was asked to do, and prompts for more.
Suppose you ask for something that doesn't exist. Perhaps you mistyped a program name. DOS will inform you that it cannot follow your desire with the message Bad command or file name, as shown in Figure 137.
There's a standard format for asking DOS to carry out your bidding. This format is called the command syntax, and it governs the way commands are entered. The basic format is:
COMMAND-NAME + modifiers (if any)
Lets look at the internal command function, DIR.
Home - Table Of Contents - Contact Us
CertiGuide to A+ (Operating Systems) (http://www.CertiGuide.com/apluso/) on CertiGuide.com
Version 1.0 - Version Date: January 7, 2005
Adapted with permission from a work created by Tcat Houser.
CertiGuide.com Version © Copyright 2005 Charles M. Kozierok. All Rights Reserved.
Not responsible for any loss resulting from the use of this site.