Index | Syntax | Notes  



CHKDSK--Examples

To find out how much data is stored on drive C and how much space is still free, and to check the disk for errors, type the following command: chkdsk c: CHKDSK pauses and displays messages if it encounters errors. To redirect the output of CHKDSK to a file named STATUS, type the following command: chkdsk a: > status Because the output is redirected, MS-DOS does not repair errors it encounters during the check; but it records all the errors in a report file. Afterward, you can use CHKDSK with the /F switch without redirection to correct any errors noted in the status report.
-Top- | Syntax | Notes