# Command: dosfsck

      DOSFSCK checks and repairs DOS filesystems.

## Syntax:

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

#### [Main menu] [top] (Syntax) [Options] [Comments] [Examples] [See also] [File]

## 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.

#### [Main menu] [top] [Syntax] (Options) [Comments] [Examples] [See also] [File]

## Comments:

      Use DOSFSCK if you have problems with files / partitions.
      DOSFSCK supports long filenames and FAT32.

#### [Main menu] [top] [Syntax] [Options] (Comments) [Examples] [See also] [File]

## Examples:

      dosfsck -av c:

#### [Main menu] [top] [Syntax] [Options] [Comments] (Examples) [See also] [File]

## See also:

      chkdsk
      scandisk

#### [Main menu] [top] [Syntax] [Options] [Comments] [Examples] (See also) [File]

## File:

      Please read this command's lsm file also.
      You will find the updated version (internet) here and
      the version described in this manual page here.
      The lsm file contains information about the name of the programmer,
      the download site, and some other command related information.

#### [Main menu] [top] [Syntax] [Options] [Comments] [Examples] [See also] (File)

      Copyright © 2008 W. Spiegl.

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