# 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 © 2011 W. Spiegl.

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