Chkdsk | \ windows \system32\chkdsk.exe |
Chkdsk scans the disk surface, checks the integrity of files and folders, and looks for lost clusters (among other things), correcting any problems that are found, and sometimes even freeing disk space consumed by unusable fragments of data. To use chkdsk effectively, include the following optional parameters:
chkdsk [ drive [ filename ]] [/f] [/r] [/x] [/i] [/c] [/v]
Option | Description |
---|---|
/f | Fix any errors found. If /f is omitted, errors are merely reported , and no changes to the disk are made. |
/r | Locates bad sectors and recovers readable information. |
/x | Forces the volume to dismount before the scan is performed. |
/i | Performs a less vigorous check of index entries. |
/c | Skips checking of cycles within the folder structure. |
/v | Use /v to display a list of every file on a FAT or FAT32 volume; it has no meaning on an NTFS disk. |