Command: dosfsck

  DOSFSCK checks and repairs DOS filesystems.

Syntax:

  dosfsck [-aAflrtvVwy][-d path -d ...][-u path -u ...] device

Options:

  -a       Automatically repair the file system.
  -A       Toggle Atari file system format.
  -d path  Drop that file.
  -f       Salvage unused chains to files.
  -l       List path names.
  -n       No-op, check non-interactively without changing.
  -r       Interactively repair the file system.
  -t       Test for bad clusters.
  -u path  Try to undelete that (non-directory) file.
  -v       Verbose mode.
  -V       Perform a verification pass.
  -w       Write changes to disk immediately.
  -y       Same as -a, for compatibility with other *fsck.
  --help   Shows the help.
  -h       Shows the help.

Comments:

  Use DOSFSCK if you have problems with files / partitions.
  DOSFSCK supports DOSLFN (long filename support), FAT16
  AND FAT32, whereas CHKDSK does NOT support FAT32.

Examples:

  dosfsck -av c:

See also:

  attrib
  bootfix
  chkdsk
  defrag
  doslfn
 (scandisk)


  Copyright © 2011 W. Spiegl, updated 2022.

  This file is derived from the FreeDOS Spec Command HOWTO.
  See the file H2Cpying for copying conditions.