CHKDSK [volume[[path]filename]]] [/F] [/V] [/R] [/X] [/I] [/C] [/L[:size]] [/B] [/scan] [/spotfix]
Volume: The drive letter, or volume name, remember that colon (D:).
/F Fixes errors on the disk.
/V Displays cleanup messages if any.
/R Locates bad sectors and recovers readable information (implies /F, when /scan not specified).
/L:size Changes the log file size to the specified number of kilobytes. If size is not specified, displays current size.
/X Forces the volume to dismount first if necessary.
All opened handles to the volume would then be invalid (implies /F).
/I Performs a less vigorous check of index entries.
/C Skips checking of cycles within the folder structure.
/B Re-evaluates bad clusters on the volume (implies /R)
/scan Runs a online scan on the volume
/forceofflinefix (Must be used with “/scan”) Bypass all online repair; all defects found are queued for offline repair (i.e. “chkdsk /spotfix”).
/perf (Must be used with “/scan”) Uses more system resources to complete a scan as fast as possible. This may have a negative performance impact on other tasks running on the system.
/spotfix Runs spot fixing on the volume
/sdcleanup Garbage collect unneeded security descriptor data (implies /F).
/offlinescanandfix Runs an offline scan and fix on the volume.
Note: that many parameters imply other parameters. Incidentally, you have to precede the parameter with a forward slash (/), and not a dash (-).