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

Popular posts from this blog

FORMAT

The FORMAT  command prepares a new disk for use by organizing the disk into magnetic tracks and sectors that are readable by DOS. when a disk is formatted, any files on that disk are usually lost. because of the plethora of disk types and capacities, new parameters were added to the FORMAT command in DOS  version 4.01. MS-DOS 5.00 introduction a safe FORMAT command and the ability to UNFORMAT unintentially formatted disks. These parameters and others are presented in the following paragraph and table. FORMAT Command Form:   There are a number of FORMAT command forms. These are described in the following list. CAUTION  BE aware that the FORMAT command erases all files from the disk being formatted.     Many computer users  have accidentally formatted the wrong disk. If you have programs or    document files  you wish to keep, do not format the disk! (DOS 5.00 lets you UNFORMAT     disk, but even with this ve...

Making, Changing, and Removing Directories

You used the DIR (directory) command in Section 3 to display a list of filenames on the screen. You can create and name multiple disk directories on a disk to allow for the subdivision of your files. This feature lets you group common files into separate directories. This is similar to subdividing information into file cabinet drawers and file folders. This is particularly convenient when you use a fixed disk containing hundreds or even thousands of files. Instead of listing all files in one directory, you can list files in smaller, more manageable sub directories. Lock at the following directory commands. Command                                      Purpose                   MKDIR or MD                                Make a new directory        ...