Runs the ScanDisk disk-repair program.


To check and repair the current drive:

To check and repair a drive:

To check and repair an unmounted DriveSpace compressed volume file:

To examine a file for fragmentation:
SCANDISK /FRAGMENT [drive:]filename

To undo repairs you made previously, use the following syntax:
SCANDISK /UNDO [undodrive:]

/ALL Checks and repairs all local drives.
/AUTOFIX Fixes damage without prompting.
/CHECKONLY Checks a drive, but does not repair any damage.
/CUSTOM Configures and runs ScanDisk according to SCANDISK.INI settings.
/NOSAVE With /AUTOFIX, deletes lost clusters rather than saving as files.
/NOSUMMARY With /CHECKONLY or /AUTOFIX, prevents ScanDisk from stopping at summary screens
/SURFACE Performs a surface scan after other checks.
/MONO Configures ScanDisk for use with a monochrome display.
drive The drive to be worked on (Default is the current drive)
undodrive The drive containing the Undo disk.
/CLIP Shortens long file names to regular 8.3 format. (?)
/HELP Same as /?.
/MOUNT Mounts DriveSpace volume. Same as using "Mount=Always" in SCANDISK.INI
/NEW ?
/NOLOST No prompt for surface scan, no check for lost clusters.
/NOUI Uses normal DOS interface instead of Windows 95 graphical interface.
/TEXT Same as /NOUI. (?)
/TIME During surface scan, marks sectors that take longer than usual to read. These sectors may be on their way to failing totally. Same as using "ScanTimeOut=On" in SCANDISK.INI.


  1. The Dos version of Scandisk does not want to run while Win95 is running. Rather than signalling an error, it automatically transfers control to the Windows version of Scandisk.

File Details

File NameDefault LocationDos Ver.Win Ver.SizeDateSource
Scandisk.exec:\windows\command 7.0Win95 134 73811/07/95\Win95\
7.1Win95 (OSR2.x) 142 35324/08/96?
Win98 143 818111/05/
Win98 SE 143 818123/04/

Superscripts denote which same size files, if any, are identical (using FC).

This page last revised:
August 29, 2000.