MS-DOS is Which Type of Operating System? Complete Explanations

4.8/5 - (49 votes)

The question “MS-DOS is Which Type of Operating System?” is commonly asked in various competitive examinations in Computer Awareness. This article will provide a detailed discussion of MS-DOS, including its type, commands, and other important information.

The Question asked in the RRB Office Assistance 2018 mains paper was held on 7 October 2018.

MS-DOS is Which Type of Operating System?

MS-DOS is a command-line operating system that does not have a graphical user interface (GUI).

Instead of GUI it has a Command-line prompt, users interact with the system through the command prompt, which allows them to issue commands using a keyboard.

▪ MS-DOS provides essential features for managing files, allocating system resources, and controlling hardware devices.

A command in the context of computing refers to an instruction written in a language that a computer can understand and execute. In the case of MS-DOS, a user types commands at the DOS prompt to perform specific actions. There are two types of MS-DOS commands: internal and external.

An example of an internal command is the "dir" command which displays a list of all the files and directories in the current directory. An example of an external command is the "format" command, which is used to format a disk or drive.

Full Form of MS-DOS

MS-DOS, stands for Microsoft Disk Operating System.

▪ It is an operating system originally derived from 86-DOS and designed for IBM-compatible personal computers.

▪ Despite being one of the oldest operating systems, MS-DOS has been widely used and has significantly impacted the development of modern operating systems.

▪ One interesting aspect of MS-DOS is that it allows users to type commands in either upper or lower case.

▪ This flexibility may seem minor, but it was significant during MS-DOS’s development because many early computer systems only supported uppercase characters.

Also See: List of Computer Abbreviations (Updated) 

Character User Interface (CUI)

▪ MS-DOS, unlike Windows OS, utilizes a character user interface (CUI) for communication between the computer and the user. This interface operates by utilizing characters, and users are required to enter commands through a prompt. The prompt serves as the location where commands are issued and can appear in the form of “C:>” or “C:\windows>”.

DOS Commands

▪ DOS Commands are instructions used by Windows users to perform tasks on files and folders.

▪ A file is a container for data, while a directory is a collection of files.

▪ The file name in MS-DOS is in 8dot format and consists of two parts – primary and secondary names.

▪ The primary name can be up to eight characters long, while the secondary name can be up to four characters with a dot.

▪ Examples of file names in 8 dot format include Logo.jpg, where the primary name is Logo, and the secondary name is .jpg.

▪ Secondary names are specific to each file type; for example, the secondary name for system files is .sys, while that for text files is .txt.

▪ File and directory names cannot contain special characters such as >, ., /, *,? |, &, or spaces.

▪ The default secondary name for common file types includes .sys for system files and .txt for text files.

Common File Types in DOS

Sl. NoFile TypeExtension
1Text file.txt
2Program file.prg
3Library file.lib
5Batch file.bat
6System file.sys
7Executable file.exe
8Database file.dbm
9Configuration file.cfg
10Help file.hlp
11Image file.img
12Sound file.wav
13Video file.avi
14Font file.fon

What is Internal Command in MS-DOS?

▪ During system booting, internal commands are loaded into the system memory. These commands are not visible as files and cannot be modified or deleted.

▪ They are part of the MS-DOS command processor and are stored in system memory, loaded from either or cmd.exe.

▪ Examples of internal commands include MD, DATE, COPY, CD, TIME, COPY CON, TYPE, and more.

What is External Command in MS-DOS?

▪ After the system boots up, external commands are stored in the memory. Unlike internal commands, these commands are present in a file, making them easy to view, modify, copy, or delete.

▪ Examples of external commands include FORMAT, SYS, EDIT, PROMPT, COPY, PRINT, TREE, SORT, and more.

Why are Internal and External Commands Needed?

▪ Internal and external commands are both necessary for the functioning of a computer’s operating system. Internal commands, which are stored in the system memory, are essential to the basic functioning of the OS and are always available for use. They are embedded in the file, allowing for easy access.

▪ On the other hand, external commands are stored as separate files and can be easily modified, deleted, or added to the system. They often require more resources than internal commands, but they are powerful tools that can help problem-solving, improve performance, and perform complex tasks. Keeping external commands separate from internal commands reduces the load on the OS, and they can be added to the system at any time simply by copying the file containing the external command to the computer.

Internal Commands of MS-DOS

Sl. NoInternal CommandDescription
1ansi.sysDefines functions that change display graphics, control cursor movement, and reassign keys.
2appendCauses MS-DOS to look in other directories when editing a file or running a command.
3assignAssign a drive letter to an alternate letter.
4assocView the file associations.
5ifAllows for batch files to perform conditional processing<\td>
6callCalls a batch file from another batch file.
7cdChanges directories.
8chcpSupplement the International keyboard and character set information.
9chdirChanges directories.
10clsClears the screen.
11cmdOpens the command interpreter.
12colorChange the foreground and background color of the MS-DOS window.
13compCompares files.
14convertConvert FAT to NTFS.
15dateView or change the systems date.
16debugDebug utility to create assembly programs to modify hardware settings.
17deleteRecovery console command that deletes a file.
18dirList the contents of one or more directory.
19 echo Displays messages and enables and disables echo.
20exitExit from the command interpreter
21findSearch for text within a file
19gotoMoves a batch file to a specific label or location
20if Allows for batch files to perform conditional processing
21lockLock the hard drive
22mkdirCommand to create a new directory
23moveMove one or more files from one directory to another directory
24rdRemoves an empty directory
25renameRenames a file or directory
26rmdirRemoves an empty directory
27shiftChanges the position of replaceable parameters in a batch program
28setChange one variable or string to another
29startStart a separate window in Windows from the MS-DOS prompt
30timeView or modify the system time
31Type Display the contents of a file
32unlock Unlock a disk drive
33ver Display the version information

External Commands of MS-DOS

SL. NoCommandsDescription
1ipconfigView network adapter settings and assigned values
2keybChange layout of keyboard
3labelChange the label of a disk drive
4logoffLogoff the currently profile using the computer
5memDisplay memory on system
6pingTest and send information to another network computer or network device
7powerConserve power with computer portables
8printPrints data to a printer port
9shareInstalls support for file sharing and locking capabilities
10shutdownShutdown the computer from the MS-DOS prompt
11sysTransfer system files to disk drive
12telnetTelnet to another computer or device from the prompt
13undeleteUndelete a file that has been deleted
14unformatUnformat a hard drive
15xcopyCopy multiple files, directories, or drives from one location to another
16appendCauses MS-DOS to look in other directories when editing a file or running a command.
17assignAssign a drive letter to an alternate letter.
18attribDisplay and change file attributes.
19chcpSupplement the International keyboard and character set information.
20compCompares files.
21convertConvert FAT to NTFS.
22debugDebug utility to create assembly programs to modify hardware settings.
23diskcompCompare a disk with another disk.
24diskcopyCopy the contents of one disk and place them on another disk.
25editView and edit files.
26expandExpand a Microsoft Windows file back to it’s original format.
27extractExtract files from the Microsoft Windows cabinets.
28findSearch for text within a file.
29formatCommand to erase and prepare a disk drive.
30ftpCommand to connect and operate on an FTP server.
31helpDisplay a listing of commands and brief explanation.

Recovery Console Commands

1batchExecutes various commands in a file
2bootcfgAllows viewing, changing, and rebuilding the boot.ini file
3disableDisables Windows system services or system drivers
4enableEnables a disabled system service or system drivers
5fixbootCreates a new boot sector
6fixmbrCreates a new boot record to a system disk drive
7fTypeShows or changes file types used in file extension associations
8listsvcShows the system services and system drivers
9logonLists the installations and enables the administrator login
10mapDisplays the device name of a drive

Features of MS-DOS Operating Systems

▪ It is a free OS.

▪ It is a single-user OS.

▪ It is a 16-bit OS.

▪ It doesn’t support GUI.

▪ It is a command-line interface (CLI) operating system.

▪ It has a built-in programming language called Batch, which allows users to write scripts to automate tasks.

▪ It has a text-based interface and functions on text and codes.

▪ The mouse could not be used to operate it, i.e., the input is provided via the basic system commands.

▪ It aids in file management, e.g., creating, editing, deleting files, etc.

▪ It has a built-in file compression utility called “COMPRESS.EXE” for compressing and decompressing files.

▪ It has a relatively small footprint, making it ideal for running on older or less powerful hardware.

▪ It supports networking, allowing computers to connect and share resources over a local area network (LAN).

▪ It has a built-in backup utility called “MSBACKUP.EXE” for creating and restoring important files and data backups.

▪ It has a built-in disk defragmentation utility called “DEFRAG.EXE” for optimizing hard drive performance.

Most Common Questions About DOS

Q1. Which is the valid filename assigned in ms dos?
A. Ram*.txt
B. Ram?.doc
C. Ram_$.txt
D. None of the above

Answer: C. Ram_$.txt


▪ valid filenames in MS-DOS must adhere to the following rules:

▪ The filename can be up to eight characters long.

▪ The filename can be followed by a period (.) and up to three characters for the extension.

▪ The filename and extension cannot contain spaces or any of the following characters: \ / : * ? " < > |

▪ The filename and extension can only contain letters, numbers, and some special characters, including ! # $ % & ' ( ) - @ ^ _ ` { } ~

▪ So, a valid filename in MS-DOS could be "book.doc" or "notes.txt", as these filenames adhere to the above rules.
Q2. Which directory structure is used in ms dos system?

▪ The directory structure used in MS-DOS is a Hierarchical Tree Structure known as the File Allocation Table (FAT) system. 

▪ It uses a tree-like structure where the root directory is at the top, followed by subdirectories and files contained within those subdirectories.

▪ The root directory is the top-most folder on the drive, and it is denoted by a backslash (\). For example, “C:\” is the root directory for the C: drive and “D:\” is the root directory for the D: drive.

▪ All other directories and files are stored within the root directory or one of its subdirectories. 

▪ Each subdirectory can contain more subdirectories and files, creating a nested hierarchy of directories.

▪ In MS-DOS, the root directory can hold up to 512 files or subdirectories, and each subdirectory can contain up to 512 files or subdirectories. 

▪ The maximum depth of the directory tree is limited to 8 levels, which means that a file can be located in a directory that is up to 8 levels deep in the hierarchy.
Hierarchical Tree Structure
Hierarchical Tree Structure
Q3. What is the purpose of format command in ms dos?

▪ The "format" command in MS-DOS is used to erase all data on a disk and set up the file system and prepare it for use. 

▪ The main purpose of the format command is to create a new file system on a disk or drive so that it can be used to store data and files. 

▪ During formatting a disk or drive we can choose which file system to use, such as FAT, FAT32, or NTFS.

▪ The format command checks the disk for bad sectors and identifies any bad sectors so that they are not used to store data. This is important because bad sectors can cause errors and data loss.

▪ Additionally, the format command can be used to create a bootable disk or drive, which can be used to start a computer and perform various tasks, such as installing an operating system or running diagnostic tools.

▪ This command is used to format both floppy disks and hard drives. 
Q4. Which command display command history in ms dos?

▪ In MS-DOS, the "doskey" command is used to display the command history. The command history is a list of all the commands that have been entered in the current session.

▪ To display the command history using the "doskey" command, follow these steps:

1. Open the MS-DOS command prompt. [Click on Search in your computer and search for "DOS" to find Comand Prompt ]

2. Type "doskey /history" (without quotes) and press Enter.

▪ The command prompt will display a list of all the commands that have been entered in the current session.

▪ You can also use the arrow keys on your keyboard to scroll through the command history. Pressing the up arrow key will display the previous command, while pressing the down arrow key will display the next command.

▪ Note that the command history is only available for the current session, and it will be cleared when you close the MS-DOS command prompt. 

Frequently Asked Questions (FAQ)

Q1. MS-DOS was developed in which year?

Answer: 1981

Q2. MS-DOS is which type of operating system?

Answer: MS-DOS is a command-line operating system that does not have a graphical user interface (GUI).

Q3. What is the full form of MS-DOS?

Answer: Microsoft Disk Operating System

Q4. What is the full form of GUI?

Answer: Graphical User Interface

Q5. Instead of a graphical user interface, what type of user interface does MS-DOS have?

Answer: Command-line interface (CLI)

Share This:

As a professional blogger and passionate educator, I am driven by a deep-seated desire to share knowledge and empower others. With years of experience in the field, I am committed to providing valuable insights and guidance to aspiring learners. My passion lies in helping individuals discover their potential and achieve their goals. I am also a firm believer in the power of motivation and strive to inspire others to pursue their dreams with unwavering determination.

Leave a Comment

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.

Powered By
100% Free SEO Tools - Tool Kits PRO