Skip to main content

CHKDSK

CHKDSK

The CHKDSK command checks the status of a selected disk. It is an
external DOS command, and it displays several information. These include:
  • The total disk space
  • The total disk space occupied and the number of files
  • The total disk space either lost or considered unusable by the system
  • The amount of disk space available for use
  • The total amount of memory available in your computer
  • The amount of memory occupied by the operating system and memory-resident programs
  • The amount of memory available for use
DOS Version 4.01 also displays the volume serial number, if one
exists, and disk and memory allocation information. The general form
of the CHKDSK command is:
                                                       CHKDSK D:

where D: is the drive letter holding the disk to be checked. For
example, the command CHKDSK B: performs a disk check of the disk
in drive B. If no disk drive is specified, the logged disk drive is
assumed, as is the case with most DOS commands.

The General Form : When CHKDSK is typed and the Enter key
pressed, a message similar to the following is displayed.

A:\>CHKDSK
                     
                                  362496 bytes total disk space
                                  198544 bytes in 15 user files
                                  253952 bytes available on disk
                 
                                1024 bytes in each allocation unit
                                35% total allocation units on disk
                               248 available allocation units on disk

                              655360 total bytes memory
                              525504 bytes free


DOS version 3.00 and later display directory information. DOS 4.01
provides disk allocation information as shown in the following screen
illustration. The number of bytes in each allocation unit varies with the
disk format. For example, a 1.2 MB floppy diskette has 512 bytes in
each allocation unit.

C:\DOS>CHKDSK
                         
                                     30117888 bytes total disk space
                                    53248 bytes in 3 hidden files
                                    51200 bytes in 20 directories
                                   13377536 bytes in 743 user files
                                   16635904 bytes available on disk

                                 2048 bytes in each allocation unit
                                14706 total allocation units on disk
                               8123 available allocation units on disk

                            655360 total bytes memory
                            525504 bytes free

Comments