Get this A+ OS CertiGuide for your own computer.
Click Here!
Use coupon code "SAVE50" to get it half price!

Custom Search







Table Of Contents  CertiGuide to A+ (Operating Systems)
 9  Chapter 0011:  DOS

Previous Topic/Section
Identifying the Files
Previous Page
Pages in Current Topic/Section
1
Next Page
The DIR Command
Next Topic/Section

IV  COMMAND.COM and Basic DOS Commands

COMMAND.COM has some commands built into it.

Examples of internal commands include;

  • DIR (short for directory)

  • DATE & TIME

  • COPY

  • TYPE

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, they’re 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:

  • FDISK

  • XCOPY

Since they're not inside the interpreter, they are known as external commands.

[spacer]UPPER or lower?

You can type (in most cases) UPPER or lower case letters; DOS doesn’t care and internally will convert them to UPPER case.


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.


Figure 137: DOS response to bad command

 


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.

Quick navigation to subsections and regular topics in this section



Previous Topic/Section
Identifying the Files
Previous Page
Pages in Current Topic/Section
1
Next Page
The DIR Command
Next Topic/Section

If you find CertiGuide.com useful, please consider making a small Paypal donation to help the site, using one of the buttons below. You can also donate a custom amount using the far right button (not less than $1 please, or PayPal gets most/all of your money!) In lieu of a larger donation, you may wish to consider buying an inexpensive PDF equivalent of the CertiGuide to A+ (Operating Systems) from StudyExam4Less.com. (Use coupon code "SAVE50" to save a full 50% off the already low price!) Thanks for your support!
Donate $2
Donate $5
Donate $10
Donate $20
Donate $30
Donate: $



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.