Dosfsck


      dosfsck [switches] drive:
Checks the filesystem on drive: for errors.

Switches

  -a
  Automatically repair filesystem.

  -A
  Toggle ATARI filesystem format.

  -d path
  Drop the file specified by path.

  -f
  Salvage unused chains to files.

  -l
  List path names.

  -n
  Check non-interactively but don't write changes to the filesystem.

  -r
  Interactively repair the filesystem (ask first).

  -t
  Test for bad clusters.

  -u path
  Try to undelete the file specified by path.

  -v
  Verbose mode.

  -V
  Perform a verification pass.

  -w
  Write changes to the disk immediately.

  -y
  Same as -a, repair non-interactively.

Notes

DOSFSCK is a 32-bit DJGPP application needing cwsdpmi in the path or a DPMI provider loaded resident in order to run. DOSFSCK, unlike Chkdsk, supports FAT32 filesystems, in addition to FAT12 and FAT16 filesystems. It is a port to DOS of the linux application of the same name.

See Also

Chkdsk

Copyright © 1998 Jim Hall
This file is derived from the FreeDOS Spec Command HOWTO. See the file H2Cpying.txt for copying conditions.