Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
CHKDSK--Examples
◄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.
♦