NT Syntax

CHKNTFS.exe

Check the NTFS file system with CHKDSK

syntax
      CHKNTFS drive: [...]
      CHKNTFS /C drive: [...]
      CHKNTFS /X drive: [...]
      CHKNTFS /D

key
   drive : Specifies a drive letter.
/C : Check - schedules chkdsk to be run at the next reboot.
/X : Exclude a drive from the default boot-time check. Excluded drives are not accumulated between command invocations.
/D : Restore the machine to the default behavior; all drives are
checked at boot time and chkdsk is run on those that are dirty. This undoes the effect of the /X option.

If no switches are specified, CHKNTFS will display the status of the
dirty bit for each drive.

Also see Q160963

Related commands:

CHKDSK - Check Disk - check and repair disk problems

Equivalent Linux BASH commands:

none



Simon Sheppard
SS64.com