MS-DOS
PRESENTED BY S.KOWSAR
MS-DOS
MICROSOFT DISK OPERTING SYSTEM
OPERATING SYSTEM(os)
OPEARTING SYSYTEM IS A COLLECTION
OF PROGRAMS WRITTEN BY THE
COMPUTERMANUFACTURAR TO
ENABLEYOU TO USE THAT COMPUTER
SYSTEM.
TYPES OF OPERATING
SYSTEM
SINGLE USER OS
MULTI USER OS
SINGLE USER OS:
THESE ARE DESIGNED THAT ONLY ONE
USER CAN WORK WITH A COMPUTER
SYSTEM AT A TIME.
EXAMPLE OF OS LIKE WIN 95,WIN 98,WIN
XP ARE ALL USER OPERATING SYSTEM
MULTI USER OPERATING
SYSTEM
THESE ARE DESIGNED SO THAT MANY
USERS CAN WORK ON A COPUTER
SYSTEM AT THE SAME TIME.
EXAMPLES ARE UNIX,LINUX,KERNALETC
MS-DOS
Ms-dos is used in operatig systems for pcs.
Introduces in 1981
Developed by Microsoft corporation, USA
DOS is a collection of program and commands
that are used to control overall computer
operations in a disk-based system
Booting , system prompt
The process of loading the operating system into
memory of the computer is known as booting.
On loaing DOS,the screen displays A:\>,C:\>
these message is called System prompt .
Disk drive,file
Disk drive
Disk drive are known as store a information of
future purpose. Examples are C: ,D: ,A:
FILE
File is a collection of data and store in drives.
Filenames , extension
By assiging a name user can easily identified the
file.
A file extension (or simply "extension") is the
suffix at the end of a filename that indicates what
type of file it is. For example, in the filename
"myreport. txt,"
directories
A directory is a location for storing files on
your computer. Directories are found in a
hierarchical file system, such as Linux, MS-DOS,
OS/2, and Unix. ... In a GUI such as Microsoft
Windows, directories are referred to as folders
Subdirectories, root directory
A directory can also have directories called
subdirectories
Root directory:
Every disk has also one directory.
Directories and subdirectories form a structure
called a directory tree.
Directories where all other files and directories
will be stored it called root directory
Path , folders, dos command line
A path, the general form of the name of a file or
directory, specifies a unique location in a file
system
Folders help in storing and organizing files and
data in the computer.
MS-DOS command line known as where you
type commands.
Dos commands
Dos commands are two types
INTERNAL COMMAND
EXTERNAL COMMAND
INTERNAL COMMAND
Internal command are read into the main memory of the
computer at time of booting and they replace in
memory until the system is powered off.
Internal commands are
CD,CLS,TIME,RD,VER,DIR,RENAME,PROMPT,M
D,DEL,DATE,COPY.
External command
MS-DOS stores external commands as separate as
separate files on your disk and are not read into
memory when you start your system.
The filename of an external command has
a .com, .exe. Or .bat extension.
Some of the external command are:
AISGN,BACKUP,CHKDSK,EDIT,HELP,DISKCOMP,DISKCOPY,FOR
MAT,SYS,GRAPHICS.PRINT,TREE,XCOPY
INTERNAL COMMANDS
DISPLAING THE DIRECTORY (DIR)
DIR[/P][/W][/S][/O(+ORDER)][D:]
/P: display a directory page by page
/w:display directory wide (5 coloumn)
/s display files in specified directory and all
subdirectories
/o list files in sorted order.
Comand of DIR
A>DIR PRESS ENTER KEY(OR)C>DIR
PRESS ENTER KEY
C>DIR/P
IT DISPLAY PAGE BY PAGE
CLS, COPY COMMAND
CLS COMMAND
THIS COMAND IS CLEAR THE CURRENT SREEN
DISPLAY AD PLACE THE DOS PROMPT AT THE TOP
LEFT OF THE BLANK SCREE.
C>CLS
COPY COMMAND
COPy sorcefilename target file name
c>copy sample.exe d:
Deleting a file DEL AND ERASE
Del and erase are have the same effect.
DEL[D:][PATH]file.ext
ERASE[D:][PATH] FILE.EXT
REN(RENAME) COMMAND
REN command is
REN [D:][PATH]oldfile.ext newfile.ext
Type command
Type command is used to display the contents of
a file on the screen
Type command
TYPE [drive:]filename.ext
DATE COMMAND,TIME
COMMAND
C>DATE PRESS ENTER
IT display a date
TIME COMMAND
C> TIME PRESS ENTER
VER COMMAND,MKDIR OR
MD DIRECTORY
VER command display a version of dos version
number
C>ver
MD[drive:] [\] directory [\directory…]
Cd command
Access files in a particular subdirectory.you have
to move into thanthe subdirectoryusing the cd
command
Cd[drive:][\]directory[\directory]
C>chdir fortran
C>cd fortran
Deleting directories RMDIR OR
RD COMMAND
USING the rd directory remove a subdirectory
from the parent directory from floppy disk or
harddisk.
c.>cd\payroll\officers
Now remove all the files of officers
C>DEL*.*