MSDOS Basics

download MSDOS Basics

of 14

Transcript of MSDOS Basics

  • 8/9/2019 MSDOS Basics

    1/14

    MS-DOS

    Microsoft Disk Operating System

  • 8/9/2019 MSDOS Basics

    2/14

    Functions of MS-DOS Booting the Computer

    Interaction with application programs and

    their control

    Interaction with Hardware

  • 8/9/2019 MSDOS Basics

    3/14

    DOS Architecture BIOS (Basic Input Output System) It is

    specific to the individual computer and is provided by themanufacturer of the system.

    DOS Kernel The Kernel is a software supplied byMicrosoft that provides a collection of Microsoftindependent services called the system functions.

    Command Processor (Shell) Shell is the userinterface to the operating system. It processes andexecutes the user commands, including loading andexecuting of other programs from the disk.

  • 8/9/2019 MSDOS Basics

    4/14

    MS-DOS provides two types of commands-

    Internal Command These are memory

    resident command. These are automaticallyloaded into the computers main memory duringthe booting process.

    External Command These are also called disk

    resident commands. These are found in separatefile on the hard disk, so that they dont consumevaluable memory space.

    Commands

  • 8/9/2019 MSDOS Basics

    5/14

    Internal Commands Date displays date and promts to change.

    Syntax - DATE[mm-dd-yy]

    Time- displays system time.Syntax TIME

    CLS shows only the comand prompt.

    Syntax CLS VER- displays the MS-DOS version number.

    Syntax - VER

  • 8/9/2019 MSDOS Basics

    6/14

    Internal commands VOL

    Syntax VOL[drive]

    DIR Disk Information ReportSyntax DIR[drive:] [Path] [file name] [/P] [/W][/A[[:]attribute]] [/O sort order]

    Switches

    /P displays one screen at a time

    /W displays in wide format

  • 8/9/2019 MSDOS Basics

    7/14

    Internal Commands

    /A attributes H, -H, S, -S, D, -D, R, -R.

    /O [:] Sort order N, -N, E, -E, D, -D, S.

    COPY CON to create file

    Syntax COPY CON

    MD or MK DIR to create a directory

    Syntax MKDIR [drive:] path

    MD [drive:] path

  • 8/9/2019 MSDOS Basics

    8/14

    Internal command TYPE displays the contents of a text file

    Syntax TYPE [drive:] [path] file name

    CD or CH DIR displays name of the currentdirectory.Syntax CD [drive:] [path]

    DELSyntax DEL [drive:] [path] [file name]/p

    RMDIRor RD- deletes or removes a directory.Syntax RMDIR [drive:] [path]

    RD [drive:] [path]

  • 8/9/2019 MSDOS Basics

    9/14

    Internal Command REN to rename a file.

    Syntax RENAME [drive:] [path] filename1filename2

    COPY

    Syntax Copy [/y:/-y] source file destination file

  • 8/9/2019 MSDOS Basics

    10/14

    External Command CHKDSK

    Syntax CHKDSK [drive:] [[path] filename] [/F][/V]

    XCOPY

    Syntax Xcopy source destination [/y /-y]

    TREE

    Syntax TREE [drive:] [path] [/f]

  • 8/9/2019 MSDOS Basics

    11/14

    External Command MOVE

    Syntax MOVE [/Y:/-Y] [drive:] [path] filename

    ATTRIB- changes attributesSyntax ATTRIB [+R R] [+A A] [+S S] [+H-H] [[drive:][path] filename]

    DOSKEY

    Syntax - DOSKEY

  • 8/9/2019 MSDOS Basics

    12/14

    External Command DELTREE

    Syntax DELTREE [/Y] [drive:] path

    FINDSyntax FIND [/V] [/C] [/N] [/I] string[[drive:] [path] filename]

    DISKCOPY

    Syntax DISKCOPY [drive1: [drive:2]] [/1] [/V]

  • 8/9/2019 MSDOS Basics

    13/14

    External Command PRINT

    Syntax PRINT [/D: device]

    FORMATSyntax FORMAT drive:

  • 8/9/2019 MSDOS Basics

    14/14