Scandisk

Index

Runs the ScanDisk disk-repair program.

Syntax

To check and repair the current drive:
SCANDISK

To check and repair a drive:
SCANDISK [drive: | /ALL] [/CHECKONLY | /AUTOFIX [/NOSAVE]] [/SURFACE]

To check and repair an unmounted DriveSpace compressed volume file:
SCANDISK drive:\DRVSPACE.nnn [/CHECKONLY | /AUTOFIX[/NOSAVE]]

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.

Note

  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 NameVersionSizeDateDefault Location
Scandisk.exe Win95: Upgrade?11/07/95c:\windows\command
Win95: OSR2.5142 35324/08/96c:\windows\command

If you should have any comments or suggestions,
please contact: Bob Watson
.
This page last revised:
December 9, 1999.