LAB REPORT ON MS Dos Kritik
LAB REPORT ON MS Dos Kritik
Battisputali, Kathmandu
Lab Report
on
DOS
INTRODUCTION........................................................................................................1
LAB WORK..................................................................................................................7
CONCLUSION...........................................................................................................17
REFERENCES...........................................................................................................18
INTRODUCTION
MS-DOS stands for Microsoft Disk Operating System and is also known as Microsoft
DOS. MS-DOS was the Microsoft-marketed version of the first operating system
(OS) to be widely installed on personal computers (PCs). It was essentially the same
OS that Bill Gates's young company developed for IBM as Personal Computer - Disk
Operating System (PC-DOS).
In 1981, IBM licensed and marketed its PC-DOS rebranding of MS-DOS to run on
IBM PCs. MS-DOS was released for x86 computers, went through eight major
versions and was ultimately retired from all active support in 2006.
Most users of either DOS system simply referred to it as Disk Operating System. Like
PC-DOS, MS-DOS was -- and still is -- a non-graphical, line-oriented, command-
driven OS. It has a relatively simple but not overly friendly user interface. Its prompt
to enter an MS-DOS command looks like this:
The default command prompt shows the disk drive currently in use. This type of
computer interface, where commands are input in response to a text prompt, is called
a command-line interface (CLI).
In this example, drive "C:" represents the system's primary hard disk drive. When
booting MS-DOS from a floppy disk, the command prompt would be A:> where "A:"
represents the primary floppy disk drive.
The first version of the Microsoft Windows OS was really an application that ran on
top of MS-DOS. Today, Windows operating systems emulate MS-DOS to continue to
support DOS -- or a DOS-like user interface -- for special purposes.
In the 1970s before the PC was invented, IBM had a different and unrelated DOS that
ran on smaller business computers. It was replaced by IBM's VSE (Virtual Storage
Extended) OS.
1
Features
Limitation
File naming – File names in MS-DOS are limited to upper case only.
Security – For file ownership and permissions, MS-DOS doesn’t have any
built-in security.
No multi-user – MS-DOS can run only one program at a time thus it does not
support multitasking and multi-users.
Difficult to use – As MS-DOS is a command-based OS thus, making it
difficult for beginners to use as it requires commands to be remembered for
specific actions.
1. Internal Commands
Internal commands are those commands that are loaded automatically in the memory
when DOS is loaded into memory during the booting process. These commands are
easier to learn and use. They require no external files for their storage as in the case of
external commands. These are for performing a basic operation on files and in
directories. They do not need any external file support. These commands are used for
common jobs such as copying and erasing files.
2
2. External Commands
These external commands are for performing advanced tasks and they do not need
some external file support as they are not stored in COMMAND.com. The external
commands are used less frequently and are stored in some external files which are
stored in some secondary storage devices. Whenever an external command is to be
executed then the external file in which that particular command is stored is
transferred from the secondary storage disk to the main memory(RAM).
3
3. General Commands
TIME- Display the current time.
DATE- Display the current Date.
TYPE- Used to display the contents or text of any file to the display.
Attributes of Files
+R - Use the +R option to make a file read-only. Read-only files may be
read but they can`t be changed or deleted.
-R - Use the -R option to change the file protection attribute back to normal
(so it can be read, changed, or deleted).
+A - Use the +A option to set the ARCHIVE attribute of a file. When the
+A option is used, this flags the file as available for archiving when using
the BACKUP or XCOPY commands.
+H - With DOS Versions 4 through 6, use the +H option to set the HIDDEN
attribute of a file so that it will not appear in a directory listing.
+S - With DOS Versions after Version 4, use the +S option to set the
SYSTEM attribute of a file. When the +S option is used, this flags the file as
a command file used only by DOS. The file will not appear in a directory
listing. This attribute is generally reserved for programmers.
4
-S - Use the -S option to turn off the SYSTEM attribute.
/S - Use the /S switch to set attributes on subdirectories found within the
specified path.
Advantages
It is a very lightweight operating system.
It has less latency as it does not support multitasking.
The system boot-up process is faster in MS-DOS compared to other OS.
Disadvantages
It is limited to very few applications.
It has a command-line interface that is not very user-friendly.
Although most computer users prefer a modern OS with a graphical user interface
(GUI), there are still reasons to use MS-DOS. Some of these include the following:
Education and research efforts let people learn about how a simple OS
works. Source code is available from Microsoft for two MS-DOS
versions; emulators and OSes providing MS-DOS functionality also enable
learning about the OS.
Embedded systems depend on MS-DOS, especially for new devices that still
use x86 processor architecture. MS-DOS is also used on legacy embedded
devices, some of which have been in the field for decades. In some case,
these embedded systems can be updated to run up-to-date versions of
compatible OSes.
5
Classic older computer games are still in use that were developed and
supported only on MS-DOS.
User inertia or the preference to skip all updates drives some people and
organizations to continue using MS-DOS. For example, author George R.R.
Martin famously admitted in 2014 to still using WordStar 4.0, which was
released in 1987, on a computer running MS-DOS.
6
LAB WORK
1. To Check Time
2. To Check Date
7
3. To view the list of File and Folder
8
4. To create a Folder
9
6. To create Different
i. Text file
ii. MS-Word
iii. Powerpoint
iv. Excel
10
7. To view the content of File
8. To delete a File
11
9. To edit a File
12
11. To move on sub Folder
13
13. To return back to Parent Folder/ Directory
14
15. To view the attribute/ Property of a file
15
18. To set Read only property to a file
16
CONCLUSION
In conclusion, DOS was the first operating system used by PCs that were compatible
with IBM, it plays a significant role in the history of personal computing. It has not
entirely vanished, even though Windows and other command line utilities have
mostly replaced it. For compatibility and convenience, the Command Prompt
application on Windows PCs continues to support a few DOS commands and
programs. It's crucial to remember that the Command Prompt and DOS are not the
same because of their various distinctions and restrictions.
17
REFERENCES
operating-system
https://www.techtarget.com/searchenterprisedesktop/definition/MS-DOS
18