What is DOS (Disk Operating System)? (2023)

What is DOS (Disk Operating System)? (1)


  • Michael Cobb

What is a disk operating system?

A DOS, or disk operating system, is an operating system that runs from a disk drive. The term can also refer to a particular family of disk operating systems, most commonly MS-DOS, an acronym for Microsoft DOS.

An operating system (OS) is the software that controls a computer's hardware and peripheral devices and allows other software programs to function. Early computers of the 1940s and 1950s did not have disk drives. Instead, they were hard-wired to carry out specific computations.

(Video) DOS - Disk Operating System

Later, computers were able to store instructions loaded into the computer's memory using punch cards and then, after that, magnetic tapes. Computer memory space was limited, and when the instructions to control a computer were moved onto a disk drive, such as a floppy disk or internal HDD, it was considered cutting-edge technology.

DOS is also used to describe several similar command-line disk operating systems. Early computers, such as the Commodore 64, Atari 800 and Apple II, all featured a disk operating system, including Commodore Business Machines DOS, Atari DOS and Apple DOS, respectively. DOS/360 was an OS for IBM mainframes, which first appeared in 1966, but it is unrelated to the 8086-based DOS of the 1980s.

How does a disk operating system work?

When a computer is powered on it goes through various steps called the boot process. For a computer running a disk operating system, the following six steps are standard:

  1. The read-only memory (ROM) bootstrap loader reads the Master Boot Record and passes control over to it.
  2. The boot record loads the disk operating system into memory, and it takes control of the machine.
  3. The computer transfers data stored on a magnetic disk to its main memory, the random access memory.
  4. It also transfers data to external devices attached to the computer, such as a computer screen or printer.
  5. The computer provides various application programming interfaces for programs like character input/output (I/O), memory management, program loading and termination, as well as handling input from the user through a keyboard.
  6. The OS also provides file management that organizes, reads and writes files on storage. The files are organized in a hierarchical structure of directories, subdirectories and files.

A disk operating system doesn't have a graphical user interface (GUI). Its interface is character-based, so users must type commands in the command line to indicate what actions they want.

(Video) M.S Dos ( Disk operating system )

What is DOS (Disk Operating System)? (2)

DOS features

Among the features and limitations of disk operating systems are the following.


  • Command-line interface (CLI). It does not have a GUI and doesn't accept mouse inputs. It is a character-based interface system where all commands are entered in text at the command-line prompt.
  • Management. A disk operating system can manage a computer's files, I/O system and its memory.


  • No built-in security. It does not have built-in security, such as file ownership and permissions.
  • No multiusers or multitasking. It also does not support multiusers or multitasking. It is only able to run one program at a time, but it provides direct access to the basic I/O system and underlying hardware.
  • Challenging interface. The CLI, in which a user must type in commands, requires the user to remember commands to run programs and do other OS tasks. This approach makes it difficult for novices to use. For example, typing the command cd \directory_name changes the current working directory to the named directory and typing the command dir lists the files in the current directory.

Common DOS commands

MS-DOS is not case-sensitive, so commands can be typed in either uppercase or lowercase. However, other disk operating systems have case-sensitive CLIs. DOS commands include the following.

Command What it does Example
cd Changes directory Type cd c:\techtarget in the command line to change the working directory to c:\techtarget.
cls Clears all the contents on the screen, leaving only the command prompt Type cls in the command line.
copy Copies one or more files to another location Type copy c:\techtarget\file.txt c:\techtarget\file2.txt to copy c:\techtarget\file.txt to c:\techtarget\file2.txt.
del Deletes one or more files Type del c:\techtarget\file2.txt to delete the file file.txt from the directory c:\techtarget.
deltree Deletes all files and subdirectories from a computer Type deltree c:\techtarget\drafts to delete the directory drafts, including all files and subdirectories contained in it.
dir Displays a list of files and directories in a directory Type dir c:\techtarget to display a list of files and directories in the directory c:\techtarget.
format Formats a disk for DOS files Type format e: to format the disk in drive e: for use with DOS.
help Lists the available commands or more information about a specific command Type help del to display information about the del command and how to use it. Most commands have optional switches that are explained in the help information.
mkdir or md Creates a new subdirectory Type mkdir c:\techtarget\drafts to create the subdirectory drafts in the c:\techtarget directory.
move Moves files or directories from one directory to another or from one drive to another

Type move c:\techtarget\file.txt c:\techtarget\drafts\file.txt to move c:\techtarget\file.txt to c:\techtarget\drafts\file.txt.

ren or rename Changes the name of a file or directory Type ren c:\techtarget\file.txt c:\techtarget\file2.txt to rename the file c:\techtarget\file.txt to c:\techtarget\file2.txt.
type Displays the contents of a file on the screen

Type type c:\myfile.txt to show the contents of the myfile.txt file.

* A wildcard character that represents one or more characters a group of files has in common Type copy c:\techtarget\*.txt c:\techtarget\drafts to copy all files with the extension of .txt to c:\techtarget\drafts.
? A wildcard character that represents a single character a group of files has in common Type copy c:\techtarget\document?.txt c:\techtarget\drafts to copy files named document1.txt, document2.txt and so on to c:\techtarget\drafts.

History of DOS

The arrival of the microprocessor in the 1970s started a computing revolution, and the market for personal computers (PCs) began to boom. IBM, which was known at the time for its mainframes, released the IBM 5150 Personal Computer in August 1981. To speed up the development of this new computer, IBM decided to license various components from other companies.

Its first choice for an OS was the CP/M-86 software from Digital Research (DR). However, disagreements over nondisclosure agreements and licensing led IBM to choose a CP/M-like OS from Microsoft. Microsoft bought the rights to market 86-DOS, an OS based on the Intel 8086 16-bit processor. 86-DOS was created by Tim Paterson at Seattle Computer Products (SCP) and was originally called QDOS, an acronym of Quick and Dirty OS.

After leaving SCP for Microsoft in 1981, Paterson worked on the PC-DOS version of 86-DOS for IBM's PC. PC-DOS was the first widely installed DOS used in PCs running on Intel 8086 16-bit processors.

(Video) What is DOS Operating System|(Lecture-22)|DOS Commands Internal and External

Microsoft produced its own almost identical version of PC-DOS called MS-DOS. As the sales of PCs grew, the ubiquity of MS-DOS grew as well. Subsequent versions featured improved performance and additional functionality, such as support for foreign and extended characters and larger HDDs. It also had enhanced memory management, an improved text editor and network support.

When Microsoft first introduced Windows as a GUI for MS-DOS, early users had to type "WIN" at the DOS prompt to launch the Windows program. Windows has since evolved from being a GUI program running under MS-DOS to a full OS taking over as the default OS, though it was not until Windows XP that consumer versions of Windows stopped relying on the DOS program win.com to bootstrap the Windows kernel.

The last retail version of MS-DOS was MS-DOS 6.22, and PC-DOS 2000 was the last retail release of PC-DOS. After this release, MS-DOS was still bundled as part of Windows but no longer required a separate license. It can still be run under Windows using a command processor that emulates the MS-DOS interface. There is an open source version of DOS called FreeDOS that is based on and compatible with MS-DOS. Other versions of these OSes include DR-DOS, ROM-DOS and PTS-DOS (PhysTechSoft DOS).

Because of the many legacy applications, disk operating systems will continue to be in use for many years. They can be used for simple embedded systems, though securing legacy OSes against modern attacks is a concern. These OSes provide machine independence and have no licensing cost in the case of FreeDOS and other open source OSes.

What is DOS (Disk Operating System)? (3)

The takeaway

Disk operating systems played a significant role in the early development of personal computing. Today, some 55 years after their initial development, they hold a place as one of the most important types of OSes in the history of computing.

(Video) What is DOS ? (Disk Operating System) Explain in Hindi

Microsoft recently introduced Windows 11. Find out where the Windows OS is headed and the important role it continues to play in computing.

Note: The acronym DoS with a lowercase "o" is short for denial of service, a method of attacking a networked computer by sending it an abnormally high number of requests in order to exhaust its resources so that genuine users cannot gain access.

This was last updated in July 2021

Continue Reading About DOS (disk operating system)

  • Why you don't always need a general-purpose operating system
  • It's time to relinquish control over operating system updates
  • Building a secure operating system with Roger R. Schell
  • Future of Windows might involve significant weight loss

Related Terms

DevSecOps (development plus security plus operations) is an approach that combines application development, security, operations ... Seecompletedefinition
GPS jamming
GPS jamming is the act of using a frequency transmitting device to block or interfere with radio communications. Seecompletedefinition
A passkey is an alternative method of user authentication that eliminates the need for usernames and passwords. Seecompletedefinition

Dig Deeper on Application and platform security


What is DOS very short answer? ›

A DOS, or disk operating system, is an operating system that runs from a disk drive. The term can also refer to a particular family of disk operating systems, most commonly MS-DOS, an acronym for Microsoft DOS.

What is an operating system DOS? ›

The operating system (OS) manages all of the software and hardware on the computer. It performs basic tasks such as file, memory and process management, handling input and output, and controlling peripheral devices such as disk drives and printers.

Why is DOS called disk operating system? ›

It is called so because it resides on Floppy or Hard disk and provides command level interface between user and the computer hardware. The different versions of MS-DOS have evolved over a period of time with Microsoft introducing new features in each new releases.

What is DOS command with example? ›

ARCHIVED: What are some examples of common DOS commands?
helpList commands (only in DOS versions 5 or later).
md c:\diryMake a new subdirectory named diry in the c:\ directory.
cd c:\diryChange to subdirectory diry .
rd c:\diryRemove the existing subdirectory named diry .
del file.extDelete a file named file.ext .
37 more rows
Jan 18, 2018

What is DOS operating system in laptop? ›

DOS (/dɒs/, /dɔːs/) is a platform-independent acronym for "disk operating system" that later became a common shorthand for disk-based operating systems on IBM PC compatibles. DOS primarily consists of Microsoft's MS-DOS and a rebranded version under the name IBM PC DOS, both of which were introduced in 1981.


1. What is DOS (Disk Operating System) | All About DOS | Lecture on DOS.
(Bhram Man)
2. DOS ( Disk Operating System ) | Computer Science | Lecture in Urdu/Hindi
(Focus Group)
3. DOS Disk Operating System IN Hindi ONE VIDEO (2021)|| डॉस सीखे केवल एक ही वीडियो में ( हिंदी में )
(Computer Wala Gyan)
4. Disk Operating System (Dos) Part 1 By Eng-Mahmoud Saker
(Free4arab | Information Technology)
5. ( DOS ) Disk Operating System
(UK Academy)
6. what is DOS (Disk Operating System).
(bs computer science begging)
Top Articles
Latest Posts
Article information

Author: Prof. Nancy Dach

Last Updated: 02/05/2023

Views: 6333

Rating: 4.7 / 5 (77 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Prof. Nancy Dach

Birthday: 1993-08-23

Address: 569 Waelchi Ports, South Blainebury, LA 11589

Phone: +9958996486049

Job: Sales Manager

Hobby: Web surfing, Scuba diving, Mountaineering, Writing, Sailing, Dance, Blacksmithing

Introduction: My name is Prof. Nancy Dach, I am a lively, joyous, courageous, lovely, tender, charming, open person who loves writing and wants to share my knowledge and understanding with you.