You are on page 1of 19

DEPARTMENT OF TECHNICAL EDUCATION

ANDHRA PRADESH

Name : M.Bhagya Lakshmi,


Designation : Lecturer in CCP,
Institution : GMR Polytechnic, Gajwel
Branch : DCCP
Year/semester : First Year
Subject name : Computer Fundamentals.
Subject Code : CCP-105
Major Topic : DOS Operating System
Duration : 50 min.
Sub –Topic : Format , CHKDSK
Teaching Aids : PPT
CCP105.28 1
OBJECTIVES:

On completion of this period , you will be able to


know and use:

• FORMAT command
• CHKDSK command

CCP105.28 2
Recap

• Type command
• Useful to display contents of a file
• Cls command
• Useful to clear the screen
• Vol command
• Useful to display the volume lable
• VER command
• Useful to display the version of Dos

CCP105.28 3
EXTERNAL COMMANDS

• Ms Dos stores external commands as separate files on


the disk.

• These are not readable into memory when the system is


booted.

• Available on floppy or harddisk.

• Loaded into memory when we use them.

CCP105.28 4
EXTERNAL COMMANDS

• The extensions of external command files are .COM,


.EXE.
• Some of the External commands are

• FORMAT
• CHKDSK
• DISKCOMP
• PRINT
• DISKCOPY

CCP105.28 5
FORMAT command

• Floppies or hard disk cannot be directly used

• Space on it should be properly organised

• Organising disks is called formatting

• Formatting is done by an external command FORMAT

• FORMAT command is available as FORMAT.EXE


program
CCP105.28 6
FORMAT command contd ...

• This program should be loaded into computer for


formatting
• The FORMAT command prepares a floppy or hard disk
for storage of information
• General form of the FORMAT command is

FORMAT drive: [/S] [/V] [/4]

CCP105.28 7
FORMAT command contd ...

• /S - Transfers the system files on to the disk.

• /V - It asks the name for the diskette being


formatted

• /4 - Formats 360 kb floppy in a disk drive that is


meant for floppies of capacity 1.2 M.B

CCP105.28 8
EXAMPLES OF FORMAT COMMAND

• C:\SYSTEM> FORMAT A:/S

• Format diskette in ‘A’ drive and stores OS in it.

• A:\SYSTEM> FORMAT C:

• Formats ‘C’ drive

CCP105.28 9
CHKDSK command

• Inspects a diskette or hard disk for errors and correct


these if possible.

• Produces a report which includes a list of all files and


information concerning the total and available computer
capacity.

CCP105.28 10
The general form of the CHKDSK command is

CHKDSK [d:] [path] [filename] [/F] [/V]

CCP105.28 11
d: path Drive letter and directory of
the diskette/hard disk to be
inspected.
file name Name of one or more file to
be inspected for fragmentation

/F Automatic correction of errors


as much as possible.

/V Displays the name of each


files and directory checked

CCP105.28 12
Example:

Checks the hard disk

C > CHKDSK

CCP105.28 13
SUMMARY
• FORMAT command

• Useful to format the disk

• CHKDSK command

• Checks the disk for errors and corrects if possible

CCP105.28 14
QUIZ

CCP105.28 15
_______ command prepares a floppy or hard disk for
storage of information.

c) CHKDSK
d) DISKCOMP
e) FORMAT
f) ALL

CCP105.28 16
Frequently asked questions in

examination

1. Explain FORMAT command.

2. Explain the CHKDSK command.

CCP105.28 17
ASSIGNMENT

1. Explain external commands.

2. Explain the purpose, syntax of CHKDSK command.

CCP105.28 18
Thank you

CCP105.28 19

You might also like