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
- 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 Name | Default Location | Dos Ver. | Win Ver. | Size | Date | Source |
Scandisk.exe | c:\windows\command |
7.0 | Win95 |
134 738 | 11/07/95 | \Win95\ |
7.1 | Win95 (OSR2.x) |
142 353 | 24/08/96 | ? |
Win98 |
143 8181 | 11/05/98 | win98_42.cab |
Win98 SE |
143 8181 | 23/04/99 | win98_46.cab |
Superscripts denote which same size files, if any, are identical (using FC).
|