Checks a disk and displays a status report.
CHKDSK [drive:][[path]filename] [/F] [/V] [/R] [/L[:size]] [/I] [/C]
[drive:] Specifies the drive to check.
filename Specifies the file(s) to check for fragmentation (FAT only).
/F Fixes errors on the disk.
/V FAT only: Displays the full path and name of every file on
the disk.
/R Locates bad sectors and recovers readable information
(implies /F).
/L:size NTFS only: changes the log file size to the specified number
of kilobytes. If size is not specified, displays current
size.
/I NTFS only: Performs a less vigorous check of index entries.
/C NTFS only: Skips checking of cycles within the directory
tree.
The /I or /C switch reduces the amount of time required to run chkdsk by
skipping certain checks of the volume.