Objective: To acquire the knowledge
about the Ms Dos O/S which is an
interface and to working with the O/S.
Ms Dos an operating system –
Introduction – operations – Internal
commands – Dir, Date, time, copy, Del
– Creating/Removing directories –
External commands –
format, label, disk
copy, backup, Restore.
Ms Dos an operating system
Ms-dos – disk operating system was first
released in august of 1981. Ms-dos is a
command line user interface where the key
borad is used to navigate instead of a mouse.
You actually have to type the commands at a
c: , instead of just clicking on a command.
There was a new release of dos every
year up until 1994, except for 1985. During
1993 and 1994 there was two releases of ms-
Introduction to the operating system
DOS, as with any operating system, controls
computer activity. It manages operations such as
data flow, display, data entry amongst other various
elements that make up a system.
The role of DOS is to interpret commands that the
user enters via the keyboard.
These commands allow the following tasks to be
file and folder management
MEANING OF INTERNAL AND EXTERNAL
There are two kinds of commands in MS-
DOS. The Internal command, which is a
command which is fixed into the
and the other one is external command,
which is not fixed into command.com and
accordingly requires a part of file to be used.
Internal Commands in DOS
Displays directory of files and directories stored on disk.
DIR [d:][path][filename] [/A:(attributes)] [/O:(order)]
Command to create a new directory. Creates a directory.
Removes an empty directory.Removes (deletes) a directory.
Displays and/or sets the system date.
Deletes (erases) files from disk
DEL (ERASE) [d:][path]filename [/P]
Displays current time setting of system clock and provides a way for you
to reset the time.
Copies or appends files. Files can be copied with the same name or with
a new name.
COPY [/Y|-Y] [/A][/B] [d:][path]filename [/A][/B] [d:][path][filename] [/V]
or COPY [/Y|-Y] [/A][/B] [d:][path]filename+[d:][path]filename[...]
External Commands in DOS
Makes an exact copy of a diskette.
DISKCOPY [d:] [d:][/1][/V][/M]
Formats a disk to accept DOS files.
FORMAT d:[/1][/4][/8][/F:(size)] [/N:(sectors)]
Creates or changes or deletes a volume label for a disk.
LABEL [d:][volume label]
Restores to standard disk storage format files previously
stored using the BACKUP command.
RESTORE d: [d:][path]filename [/P][/S][/B:mm-dd-yy] [/A:mm-
dd-yy][/E:hh:mm:ss] [/L:hh:mm:ss] [/M][/N][/D]
Makes a backup copy of one or more files.
BACKUP [d:][path][filename] [d:][/S][/M][/A][/F:(size]
[/P][/D:date] [/T:time] [/L:[d:][path]filename]