Home >> MS-DOS Reference >> Command Categories >> File and Disk Management >> CHKDSK
|
|
File and Disk Management |
|
|
CHKDSK [drivename] [filename] [/V ][/F]
You may specify a drive, otherwise CHKDSK uses the current drive.
To check the fragmentation of a file you may enter its name.
/V displays the name of each file as it checks it.
/F fixes any errors that CHKDSK finds. If it is not included, CHKDSK does not fix any errors.
IMPORTANT NEWS for users of MS-DOS 5.0. There is a bug in the version of CHKDSK that comes with this version of MS-DOS. If you run this program on a hard disk that has a size of a multiple of 128 MB with the /F option, it may corrupt the disk by writing multiple copies of the FAT over the directory structure. Microsoft knows about this problem and a fix is available. See the Microsoft Knowledge Base article about this .
| Home | |
| MS-DOS Home | |
| A - Z Index |
| Top of page |
| Summary |
| Description |
| Command Syntax |
| Comments |
|
|
Printed from the NukeSoft MS-DOS Reference. Copyright © 1995 - 2006 Marcus Houlden