You use ChkDsk to perform
a basic check of the hard drive. In addition, you can optionally use it to recover lost clusters
and attempt repairs on damaged clusters. This utility uses the following syntax:
CHKDSK [volume[[path]filename]]] [/F] [/V] [/R] [/X] [/I] [/C] [/L[:size]] [/B]
The following list describes each of the command line arguments.
/F
Adds fixing media errors to the list of tasks to perform. This switch differs from
/R
, which
recovers clusters lost when an application terminates unexpectedly.
/R
Adds recovering lost clusters to the list of tasks to perform. Using this switch also adds the
/F
switch automatically.
/V
Displays the full path and name of every file on the disk. Use this switch only on FAT- or
FAT32-formatted drives.
/L [
Size
]
Outputs the current size of the log file used to track drive activity when you use the
/L
switch alone. Including the optional log file size modifies the size of the log for the current
drive. Theoretically, a larger log could help improve drive reliability, but in practice, the default
size normally works well. Use this switch only on NTFS-formatted drives.
/X
Forces the operating system to dismount a drive before performing a check.
Pages:
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941