Introduction To MS-DOS

Slides:



Advertisements
Similar presentations
Operating System.
Advertisements

The Operating System. What is an Operating System? The program that is loaded first and manages the hardware resources like main memory, backing storage.
2 © 2004, Cisco Systems, Inc. All rights reserved. IT Essentials I v. 3 Module 4 Operating System Fundamentals.
The power supply performs a self-test. When all voltages and current levels are acceptable, the supply indicates that the power is stable and sends the.
Chapter 3 Understanding the Boot Process and Command Line.
11/13/01CS-550 Presentation - Overview of Microsoft disk operating system. 1 An Overview of Microsoft Disk Operating System.
Basic Input Output System
Cambodia-India Entrepreneurship Development Centre - : :.... :-:-
Computer Parts There are many parts that work together to make a computer work.
Working in DOS DOS is a true operating system
FILES  A file is a collection of related information  Files are kept in directories on a disk.
Installing software on personal computer
LECTURE 14 Operating Systems and Utility Programs
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.
IT Essentials - Chapter 4 Operating System Fundamentals.
Operating Systems What do you have left on your computer after you strip away all of the games and application programs you bought and installed? Name.
How Hardware and Software Work Together
Chapter 5 Basic Input/Output System (BIOS)
DOS- Disk Operating System By: Prof.M.B.Salunke Asst. Prof., Department of Computer Engg, SITS, Pune-41.
Basic Input Output System
COMPUTER MANAGEMENT. System start-up Before switching on a computer, make sure that all the components are properly connected. The computer must be connected.
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.
DOS Commands What is a command Types of DOS Commands Basic Terms
Operating System. Architecture of Computer System Hardware Operating System (OS) Programming Language (e.g. PASCAL) Application Programs (e.g. WORD, EXCEL)
Ch Review1 Review Chapter Microcomputer Systems Hardware, Software, and the Operating System.
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:
What is system software and what are its parts? Programs that control operation of computer Two parts are operating systems utility programs.
Command Prompt Chapter 10 Introduction to Batch Files Richard Goldman February 7, 2000.
The Operating System ICS3M.  The operating system (OS) provides a consistent environment for other software programs to execute commands.  It gives.
OPERATING SYSTEM - program that is loaded into the computer and coordinates all the activities among computer hardware devices. -controls the hardware.
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.
Course Title: Introduction to Computer Course Instructor: ILTAF MEHDI Chapter No: 04 1BY ILTAF MEHDI (MCS, MCSE, CCNA)
1 ENG224 INFORMATION TECHNOLOGY – Part I 1. Introduction to Computers.
2.1 :Input Output Control System. Learning Outcomes Distinguish between Directory Management and Disk Space Management Identify the primary function perform.
IT Chapter 2 Part A How Computers Work Input, process, output, and storage The operating system helps the computer perform four basic operations,
Systems Administration (Windows) BIT3111 – Lecture 5 (Introduction to Windows OS)
DOS MS-DOS stands for Microsoft Disk Operating System. MS-DOS controls the computer’s hardware and provides an environment for programs to run. This.
Lecture-7 Introduction to DOS. Introduction to UNIX/LINUX OS.
Introduction to Operating Systems Concepts
OPERATING SYSTEM CONCEPT AND PRACTISE
Introduction to comp. and prog. CS 101 G 964
Operating System & Application Software
Lesson 4 0x Operating Systems.
Chapter Objectives In this chapter, you will learn:
BIOS & CMOS.
Operating System Review
Topics Introduction Hardware and Software How Computers Store Data
Operating System.
Chapter 1 Getting Started
Computer Maintenance Unit Subtitle: Basic Input/Output System (BIOS)
Computer Software.
Chapter 2: System Structures
TOPIC 6: SYSTEM START-UP AND CONFIGURATION
My Faculty Name Is Mr.Dattarey Joshi
Key Terms By: Kelly, Jackson, & Merle
Operating Microcomputer
CONFIGURING HARDWARE DEVICE & START UP PROCESS
Operating System Review
DOS (Disk Operating System)
Computer Parts There are four main equipment functions of a computer system: Input, Processing, Storage and Output. Input: the transferring of information.
Topics Introduction Hardware and Software How Computers Store Data
Operating System Review
Computer Parts There are four main equipment functions of a computer system: Input, Processing, Storage and Output. Input: the transferring of information.
Chapter Overview Operating System Basics
Introduction Paul Flynn
The Operating system Gives life to the hardware
Modern PC operating systems
Chapter-1 Computer is an advanced electronic device that takes raw data as an input from the user and processes it under the control of a set of instructions.
Presentation transcript:

Introduction To MS-DOS An operating system is an interface between the hardware and the software and the user to communicate with each other. MS-DOS stands for Microsoft Disk Operating System, is one of the powerful operating systems. DOS basically works as an interpreter to provide an interface between hardware and programs/software. It also controls the overall operations of the computer system and the flow of data etc. as other operating systems do. MS DOS is a single user operating system. It uses a command line interface i.e. to perform specific tasks, you need to type command. Basically command line interface Is a mechanism for interfacing with the computer operating system by typing commands only. Introduction To MS-DOS

The DOS operating system is a program which is loaded in the computer memory normally called as floppy disk. The architecture of MS-DOS consists of three main files. The files are also known as system files. These files are (a) IO.SYS (b) MS-DOS © COMMAND.COM Structure Of MS-DOS

IO.SYS (Input Output System) :- This is the system file which manages the input output attached to the computer. Basically this system file is divided into two portions , first portion of IO.SYS controls the operations of input output devices and second portion which is also known as SYS.INI loads the MSDOS.SYS from the hard disk to main memory and stays in the memory till the power is switched on.

b) MSDOS. :- MS-DOS is also known as DOS Kernel b) MSDOS. :- MS-DOS is also known as DOS Kernel. It acts like a policeman who controls the various activities of the system. Basically it acts as a link between the BIOS (Basic Input- Output Services) and the application programs being run by the computer user. It contains all the modules for process management which are written in machine language so that they could be easily ported. It performs four basic functions. (1) Process Control :- MS-DOS is responsible for loading the program from the disk into memory requested by the user and also recovers system files when unwanted termination occurs. (2) Memory Management :- It allocates the memory to different application programs and also does file allocation if demanded.

(3) File Management :- File management like reading, writing, renaming, copying and removing the files is done by this command. (4) Application Program Interface :- It provides an interface between the user and the hardware. Using this, if programmer has knowledge of hardware, he/she can directly write programs.

c ) Command. Com :- The command c ) Command.Com :- The command.com is the main operating system program that acts as an interface between the user and the system. The commands we give to the system are received by command.com and the translated into the language understandable by the system. The MS-DOS shell is known as command.com which provides a command line interface. Command.com has two portions as :- (a) Resident Portion :- DOS is first loaded into the Resident Portion of memory and stays there all the time from the switching on till switch off the computer. It can only be interrupted by Ctrl+C. It contains code required to reload the transient portion of Command.com.

(b). Transient Portion :- It is the temporary portion of the command (b) Transient Portion :- It is the temporary portion of the command.com can be erased if memory is required by application program due to less or shortage of memory. The Transient portion displays the DOS prompt like A:\> , B:\> and C:\> and it reads commands from keyboard and executes those commands.

1. BOOTSTRAP:-The term boot is short for bootstrap 1. BOOTSTRAP:-The term boot is short for bootstrap. With the power off , a computer is a dead hunk of silicon, steel, and wires. During the boot process , it has to wake up, find all of its peripherals , and configure itself to run software . It takes some doing to make all of this happen . SOME DOS RELATED TERMS

2. THE DOS BOOT PROCESS:- When DOS was first used by IBM for its personal computers , the OS system was called PC-DOS , and IBM gave certain names to the files that made them sound like IBM-specific files. But as soon as clone makers (e.g. Compaq, Dell) starting making IBM compatible clone computers, Microsoft released a clone Version called MS-DOS, and renamed some of those files. Now MS-DOS is much more widely used than PC-DOS and MS-DOS names are more common.

Booting When we start our Computer then there is an operation which is performed automatically by the Computer which is also called as Booting. In the Booting, System will check all the hardware’s and Software’s those are installed or Attached with the System and this will also load all the Files those are needed for running a system. In the Booting Process all the Files those are Stored into the ROM Chip will also be Loaded for Running the System.

In the Booting Process the System will read all the information from the Files those are Stored into the ROM Chip and the ROM chip will read all the instructions those are Stored into these Files. After the Booting of the System this will automatically display all the information on the System. The Instructions those are necessary to Start the System will be read at the Time of Booting.

There are mainly two types of Booting: (1) Cold Booting (Switch Booting) (2) Hot Booting (Warm booting)(Resetting) 1. Cold Booting: When the PC is switched on, it loads the Bootable DOS program from the disk to the memory. This type of Booting of the computer is a slow process. It can be done only from the ON/OFF switch button on the cabinet and so called as Switch Booting.

2. Hot Booting (warm booting) This is also called Warm Booting 2. Hot Booting (warm booting) This is also called Warm Booting. It is faster than cold booting. If computer “Hangs” or halts or crashes due to some reason, it may be necessary to reset it either by pressing Reset Button from the cabinet or by pressing Ctrl+Alt+Del keys from the keyboard simultaneously. The computer restarts and the booting of this type from Keyboard keys or Reset button is called Hot Booting. It is also called Resetting or Reinitialization.

Pipes and Redirection A number of Dos commands send output to the screen and/or require input from the user. Redirection is a mechanism whereby the output of a command can be fed either to some other device (e.g. a printer or file) or to another program or command. There are four redirection functions: (1) > Redirect output (2) >> Append (3) < Redirect input (4) | Pipe

(1) > (Redirect output) Redirects a command's output from the "standard output device" (usually the monitor) to another device (e.g. printer) or a file. Syntax: To redirect output to a device: Command > Device To redirect output to a file: Command > Filename

(2) >> (Append) Appends the output from a command to the specified file. Syntax: Command >> Filename (3) < (Redirect input) Directs input to a command from a source other than the default (the default source usually being the keyboard). Command < Datasource

| (Pipe) The "pipe" redirects the output of a program or command to a second program or command. Syntax: Command1 | Command2

What is Batch File A batch file is a file containing a series of commands that the operating system will carry out for you, one at a time. A batch file is a collection of DOS commands. MS-DOS batch files consist of the normal operating system commands (e.g. DIR, DEL, COPY and MKDIR) together with some extra commands such as IF, FOR, GOTO, SHIFT and PAUSE that provide conditional control of execution and enable PARAMETERS to be passed so that the same batch file can be used in many different contexts.

A batch file, such as WP. BAT, ends with the letters. BAT A batch file, such as WP.BAT, ends with the letters .BAT. When the user types in the name of a batch file and presses Enter at the DOS prompt, the commands in that batch file are performed one at a time-with no additional instructions from the user. For example, if the user typed WP and pressed Enter, WordPerfect (a popular word processing program) would start. A user can create a batch file to perform any routine task. For example, a batch file could be created to prepare a disk for use (a process called formatting). Because the commands are in a batch file, the user doesn't have to type them herself, or even remember what they are-all the user would have to do is type the name of this batch file to format a disk.

The most important batch file is the AUTOEXEC. BAT The most important batch file is the AUTOEXEC.BAT. This file contains commands that are performed automatically each time the PC is turned on or restarted. Typical AUTOEXEC BAT commands include those which change the system prompt, display the current date and time, and set the directories in which DOS looks for files. Other than the internal and external DOS commands the batch file has their own commands. Some commonly used batch file commands are: 1. REM (Remark)- used for comments 2. PAUSE- to pause the execution of batch file and waits until user press a key

3. ECHO- to on/off the text display on the screen 4 3. ECHO- to on/off the text display on the screen 4. CALL- calls specified batch file, execute it and returns to the main file. Example of Batch File: C:\>EDIT SAT.BAT type the following in DOS editor: CLS DATE TIME VER VOL LABEL D: Press ctrl+z to save the file