Disk Operating System
Disk Operating System
Disk Operating System
After reading this module and working through the lab section, you should be able to:
Introduction
Before Windows was created, the most common operating system that ran on IBM PC compatibles was DOS. DOS
stands for Disk Operating System and was what you would use if you had started your computer much like you do
today with Windows. The difference was that DOS was not a graphical operating system but rather purely textual.
That meant in order to run programs or manipulate the operating system you had to manually type in commands.
When Windows was first created it was actually a graphical user interface that was created in order to make using the
DOS operating system easier for a novice user. As time went on and newer versions of Windows were developed
DOS was finally phased out with Windows ME. Though the newer operating systems do not run on DOS, they do
have a something called the command prompt, which has a similar appearance to DOS. In this tutorial we will cover
the basic commands and usage of the command prompt so that you feel comfortable in using this resource.
1. When you give a DOS command to start an application program it copies information from the
application disk to the computer's memory.
2. DOS gives you the power to manage your files, like sorting, making copies for safekeeping.
3. DOS also keeps track of the time and the date you made your files.
4. DOS helps manage hardware accessories, like the printer, mouse and installed clock.
5. DOS enables your computer to communicate with PC hardware which your OS consist of programs that
control the flow of information.
DOS FILES
A file is an organized collection of information that accessed according to its physical location in the PC.
File is a collection of information or data. A file consists of a root/base name the extension name.
Name can be 1 to 8 characters long. It can be composed of letters of the alphabet, numbers any the
following characters: $#@%!(){}.
Extension are optional. An extension starts with a period and is followed by 1 to 3 characters.
When naming files, the drive does not have to be specified if the drive name is the same as the default drive.
Examples:
A:EXAMPLE.21 refers to a file on the A drive.
The name is EXAMPLE and the extension is 21.
The * means that any character can be in that position and in the rest of the filename or extension.
Examples:
EXAMPLES.* refers to any file with the name of EXAMPLES and any extension.
EX*.* refers to any files whose name starts with the letter EX and with any extension.
Examples:
EXAMPLES.?? refers to any file which name is EXAMPLES and with any 2 character extension.
EXAM?.DOC refers to any file which name starts with EXAM and is followed by one additional character and an
extension of .DOC.
FILE TYPES
1. Text files--contains information that you can read. It consist solely characters that can be displayed on the screen.
3. Program files--contain programs that the computer can execute. Unlike the two other file types, in DOS all
programs files use the extension .COM, .EXE, or .BAT.
RESERVED EXTENSIONS
DOS reserves a few filename for special purposes. Example,.EXE, used by DOS are .SYS, .CPI, .PRO, .VID,
.GRB, .SWP, and .INI. It is best not to use any of the reserved extensions in the filenames that you can
create.
1. An Internal commands--are built into COMMAND.COM and are available whenever the DOS prompt is
present. They are memory-resident.
2. A Transient commands--are not resident in the computer memory, are the instructions to execute the command
must be located on the disk.