Disk Operating System (DOS)

Slides:



Advertisements
Similar presentations
DOS commands.
Advertisements

1 Chapter 5 Disk Operating System (MS DOS). 2 Disk Operating System (DOS) In the 1980s or early 1990s, the operating system that shipped with most PCs.
DOS & Windows O/s Prof. Sujata Rao Less 5.
Understanding the Boot Process and Command Line
Lesson 4 0x Operating Systems.
Higher Computing Computer Systems S. McCrossan Higher Grade Computing Studies 7. Systems Software 1 System Software This software is used to provide the.
Operating System Type of Operating System
2 © 2004, Cisco Systems, Inc. All rights reserved. IT Essentials I v. 3 Module 4 Operating System Fundamentals.
BIOS (Basic Input Output Service) Contains system data used by the ROM BIOS service routines. Serves as a standardized communication interface between.
Drives, Directories and Files. A computer file is a block of arbitrary information, or resource for storing information. Computer files can be considered.
A+ Guide to Software, 4e Chapter 6 Windows 9x/Me Commands and Startup Disk.
Chapter 3 Understanding the Boot Process and Command Line.
Introduction to Unix (CA263) File System
Exploring the UNIX File System and File Security
MCT260-Operating Systems I Operating Systems I Introduction to Operating Systems.
Operating Systems: Software in the Background
© 2007 The McGraw-Hill Companies, Inc. All rights reserved Working with the Command- Line Interface Chapter 14.
1 Application & Systems Software Operating Systems – a deeper look.
The UNIX File System.
Guide To UNIX Using Linux Third Edition
FILES  A file is a collection of related information  Files are kept in directories on a disk.
LECTURE 14 Operating Systems and Utility Programs
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 4 Disk Operating System (DOS) and the Command-Line Interface McGraw-Hill.
Lesson 4 Computer Software
System Software. BIOS Basic Input Output System A kind of ROM Execute routines Checking RAM, detecting hard disk, floppy disk, CDROM, … etc.
Operating Systems Basic PC Maintenance, Upgrade and Repair Mods 1 & 2.
Guide To UNIX Using Linux Fourth Edition
Computer Systems Week 10: File Organisation Alma Whitfield.
DOS- Disk Operating System By: Prof.M.B.Salunke Asst. Prof., Department of Computer Engg, SITS, Pune-41.
1. 2 Disk Operating System (DOS) Finding DOS and Understanding its Strengths and Weaknesses Installing DOS How the FAT File System Works Working with.
Lesson 6 Operating Systems and Software
DOS Understanding what you can do. Operating System Traits An OS only works with one type of processor –X86 processors for us; Motorola for Mac –Must.
Ch 51 Internal Commands COPY and TYPE. Ch 52 Overview Will review file-naming rules.
DOS Commands What is a command Types of DOS Commands Basic Terms
1 THE UNIX FILE SYSTEM By Chokechai Chuensukanant ID COSC 513 Operating System.
Lesson 7-Creating and Changing Directories. Overview Using directories to create order. Managing files in directories. Using pathnames to manage files.
Chapter 9 Part II Linux Command Line Access to Linux Authenticated login using a Linux account is required to access a Linux system. The Linux prompt will.
Operating System Basics Chapter 1 Release 16/07/20 09 powered by dj.
Understanding the Boot Process and Command Line
4 1 Operating System Activities  An operating system is a type of system software that acts as the master controller for all activities that take place.
Ch Review1 Review Chapter Microcomputer Systems Hardware, Software, and the Operating System.
Gene Perkins, Lassen High School Networking Academy
DOS  In the 1980s or early 1990s, the operating system that shipped with most PCs was a version of the Disk Operating System (DOS) created by Microsoft:
®® Microsoft Windows 7 for Power Users Tutorial 13 Using the Command-Line Environment.
Ch 41 Program Files, Data Files, and Subdirectories.
CPSC Pascal Brent M. Dingle Texas A&M University Chapter 1.
Chapter Two Exploring the UNIX File System and File Security.
Systems Software Operating Systems. What is software? Software is the term that we use for all the programs and data that we use with a computer system.
Chapter Two Exploring the UNIX File System and File Security.
Basic MS-DOS. History MS-DOS 1.0 was released in August 1981, and was updated until April 1994 when it was replaced by Windows 95 All versions of windows.
Chapter 1 : The Linux System Part 2 Lecture 2 11/14/
Basic MS-DOS.
1.  Microsoft DOS (Disk Operating System) use a command line user interface.command line  A command line user interface means that the user is required.
1 Software. 2 What is software ► Software is the term that we use for all the programs and data on a computer system. ► Two types of software ► Program.
Operating System Fundamentals 1. Components of an OS 2. Functions of an OS 3. Types of OS 4. Command-line tools.
File and Folder CLI Commands 12/24/ Agenda Overview of OS functions and the SHELL Internal v External Commands Command History Making & Modifying.
Basic DOS How to get some work done. It’s all a file Everything is a file: OS files, Application files, Data files and Game files Files have 8.3 names:
Copyright © 2007 Heathkit Company, Inc. All Rights Reserved PC Fundamentals Presentation 10 – Using the Command Line.
The Command Line Yep, you need to know this. The Basics Start with the Prompt, what the computer tells you when ready for a command You type a command.
IT Essentials 1 v3 Module 4 JEOPARDY IT Essentials 1 RouterModesWANEncapsulationWANServicesRouterBasicsRouterCommands RouterModesWANEncapsulationWANServicesRouterBasicsRouterCommands.
Computer Operating Systems And Software applications.
Operating System. What is Operating System OS is system software, which may be viewed as collection of software consisting of procedures for operating.
Ahmadu Bello Computer Repair Training Course 6: Use of Software By Suprix Technology Nigeria ( A.B.U repair computer training.
MS-DOS is an acronym for MicroSoft Disk Operating System It is a CUI based operating system. It provides user with a command prompt (generally called.
Lecture-7 Introduction to DOS. Introduction to UNIX/LINUX OS.
Lesson 4 0x Operating Systems.
INTERNAL COMMANDS CLS(Clear Screen):-
Computer Organization & Assembly Language Chapter 3
Exploring the UNIX File System and File Security
Modern PC operating systems
Presentation transcript:

Disk Operating System (DOS) By Abdalla A. Shaame

DOS DOS Stands for "Disk Operating System.“ DOS was the first operating system used by IBM-compatible computers. It was originally available in two versions that were essentially the same, but marketed under two different names. "PC-DOS" was the version developed by IBM and sold to the first IBM-compatible manufacturers. "MS-DOS" was the version that Microsoft bought the rights to, and was bundled with the first versions of Windows.

DOS DOS uses a command line, or text-based interface, that allows the user to type commands. By typing simple instructions such as pwd (print working directory) and cd(change directory), the user can browse the files on the hard drive, open files, and run programs. While the commands are simple to type, the user must know the basic commands in order to use DOS effectively (similar to Unix and Linux). This made the operating system difficult for novices to use, which is why Microsoft later bundled the graphic-based Windows operating system with DOS.

DOS DOS is a operating System which is used for operating the system or the computer. It is a set of computer programs. The main functions of DOS  are to manage disk files, allocate system resources according to the requirement. DOS provides features essential to control hardware devices such as Keyboard, Screen, Disk  Devices,  Printers, Modems and programs.

DOS Basically, DOS is the medium through which the user and external devices attached to the system communicate with the system. DOS translate the command issued by the user in the format that is understandable by the computer and instruct computer to work accordingly. It also translates the result and any error message in the format for the user to understand.

DOS The first versions of Windows (through Windows 95) actually ran on top of the DOS operating system. This is why so many DOS-related files (such as .INI, .DLL, and .COM files) are still used by Windows. However, the Windows operating system was rewritten for Windows NT (New Technology), which enabled Windows to run on its own, without using DOS. Later versions of Windows, such as Windows 2000, XP, and Vista, also do not require DOS DOS is still included with Windows, but is run from the Windows operating system instead of the other way around. The DOS command prompt can be opened in Windows by selecting "Run..." from the Start Menu and typing cmd.

Loading of DOS The BOOT Record into the computer memory loads DOS. BOOT Record in turn is triggered by ROM program already there in the computer. The system start-up routine of ROM runs a reliability test called Power On  Self Test (POST) which initializes the chips  and  the standard equipment attached to the PC, and check whether  peripherals connected to the computer are working or not. Then it tests the  RAM memory. Once this process is over, the ROM  bootstrap loader attempts to read the Boot record and if successful, passes the  control  on  to it. The instructions/programs  in  the  boot record  then  load the rest of the program.

Loading of DOS After  the  ROM  boot strap  loader  turns the control over to boot  record,  the  boot tries to load the DOS into the memory by reading the  two hidden  files IBMBIO.COM and IBMDOS.COM. If these two are  found, they   are   loaded  along with  the   DOS command interpreter COMMAND.COM. COMMAND.COM contains routines that interpret what is typed  in through the keyboard in the DOS command mode. By comparing  the input with the list of command, it acts by  executing the  required routines/commands or by searching for the  required routine utility and loads it into the memory.

 COMPUTER FILES IN DOS A  file may contain a program or any other kind  of  information. Generally, a file must be given a name that can be used to  identify it. DOS permits the user to assign a name consisting of  two parts  to a file - primary and secondary names. Primary name  can be  of  a maximum of eight characters consisting  of  Characters, Alphabets, Number  and Hyphen)   Secondary  name  should consist of three characters, which is optional. The primary  name and the secondary (or extension) name, if any, are to be separated  by  a  dot (.). Primary name can be linked  to  proper  name, whereas  extensions are like surnames of people. Using an  extension with the file name is preferable, though optional.   However, once the extension is specified, using the complete name (primary name and extension, with the period separating them can only refer the file). Using extensions can be an excellent way of naming a file so that it can be identified easily.

DIRECTORY STRUCTURE IN DOS The files in the computer come from  various sources.  Some files come with DOS, while other  come  with publications such as a word processor. These files contain  codes and  other information that is necessary to  make  the  computer application operational. There will be hundreds  or even thousands of files in the computer, which can make it difficult to locate specific files. The  names of all the files created in a disk are stored  in  its directory. Directory is just like a file folder, which contain all the logically related files.  DOS  files  are organized in a  hierarchical or  an inverted tree- like structure. The general analogy is with a file cabinet containing a number of drawers, which in turn may contain folders. The content of these folders is the needed  information. The file cabinet here is the ROOT DIRECTORY, the drawer is  INDIVIDUAL DIRECTORY, the folders are SUBDIRECTORY and the  information in these folders may in turn be classified as FILES.

DIRECTORY STRUCTURE IN DOS Otherwise,  the large number of files that get created for  various purposes in a disk can make the directory huge and  difficult to view and manage. Therefore, DOS enables the user to organize the files in a disk into directories and sub-directories  in a hierarchical structure. Directories can contain other  directories. A directory within another directory is called  a  sub-directory. Of course, there may be sub-directories of sub- directories, but  a file name  is the furthest you may descend down  the  (inverted) tree of directories and files. Thus, a file name corresponds to a tree  leaf, a sub- directory to a branch, the  directory  to  the trunk, and the root directory to the root of the tree, hence  the name ROOT DIRECTORY.

Sample of Directory Structure

DIR COMMAND The DIR command gives the list of is there on the disk  that is mounted on the active drive. Syntax : C:\> DIR C:\> DIR Example C:\> DIR

CHANGING A DIRECTORY All  the names displayed using DIR command that have <DIR>  besides them  are directories. You can see the list  of  files  in another directory by changing to that directory and  then  using the DIR command again. The  Change Directory (CHDIR) or CD command enables the  user  to travel  around the directories in a disk. Type the CD command  at the command prompt. Syntax: C:\> CHDIR {path} or a:\> CD {path} Examples : (Refer to the figure) C:\>CD \NOS

MAKING OR CREATING DIRECTORY As  the  number of files increases in a disk, a need is  felt  to organize them in a meaningful way by creating sub- directories  to store a group of logically related/similar files. To create a directory, DOS provides the MKDIR (Make Directory) or MD command. Syntax: C:\>MKDIR [drive:] {pathname} or C:\>MD [drive:] {pathname} Square brackets indicate that [drive:] entry is optional. The MD or MKDIR command creates a new empty directory whose  name is the  last item specified in the pathname,  in  the  specified drive. If active, the drive need not be specified. If the  directory is to be created as a sub-directory of the working directory on the active drive, typing MD {directory name} at the DOS prompt or command prompt is sufficient. Examples: C:\> MD \ACCT\SALARY makes a SALARY directory in the: drive, under ACCT directory.

DELETING A DIRECTORY You  may  want to delete or remove a directory to  simplify  your directory structure. DOS provides RD (Remove Directory) to delete a directory. Example: C:\> RD \ACCT\SALARY removes the SALARY sub-directory in ACCT directory. NOTE: You cannot delete a directory if you are in  it.  Before you can  delete a directory, you must type cd.. at  the  command prompt. At the same point of time, the directory to  be  deleted should be empty.

COPYING FILES To copy a file, DOS provides `COPY' command. When you  use `copy' command, you must use the following two  parameters;  the location  and the  name of the file you want  to  copy,  or  the source;  and the location and the file name to which you want  to copy the  file  or the target (destination).  You  separate  the source and the destination or target with a space. The syntax of the `COPY' command is COPY {source} {destination} or, COPY [drive:] [path] [filename] [drive:] [path] [filename] i.e.  the  first set of drive, path and filename  refers  to  the source  file,  and  the second set of drive,  path  and  filename refers to the destination file.

RENAMING FILES To  rename  a  file, DOS provides REN command.  The  REN  command stands  for  "Rename".  When you use the REN  command,  you  must include two parameters. The first is the file you want to rename, and the second is the new name for the file. You separate the two names with a space. The REN command follows this pattern: REN oldname newname Example: REN NOS.DOC NOS.MEM Rename the old filename NOS.DOC to a new filename NOS.MEM.

DELETING FILES This  section explains how to delete or remove a file that is  no longer  required  in the disk. DOS provides  DEL  command,  which means to delete. Syntax : DEL {drive:} {path} {filename} Example: C:\> DEL \DOS\EDIT.HLP delete the EDIT.HLP from the DOS directory under ROOT directory.

PRINTING A FILE The  `PRINT' command of DOS works more or less like  `TYPE'  command, but at the same time, it enables the content of a text file to be printed on a paper. Syntax: C:\> PRINT [drive:] {path} {filename} Example: C:\> PRINT \AIAET\LETTER\AIAET.LET

Next Lessons Windows Operating System