Command-Line Parameters for the Scandisk Tool

Article translations Article translations
Article ID: 199557 - View products that this article applies to.
This article was previously published under Q199557
Expand all | Collapse all

SUMMARY

This article lists the command-line parameters for the Scandisk tool (Scandisk.exe) in Windows 98, and Windows Millennium Edition (Me).

Note: The Scandisk switches that are provided are not meant to be run within the Windows operating system. To run Scandisk within Windows, click Start, point to Programs, point to Accessories, point to System Tools, and then click Scandisk.

MORE INFORMATION

To run Scandisk, and force these command-line options in Windows 98, restart your computer, and when you see the Windows 98 Startup Menu, select Command prompt only, or Safe mode command prompt only.

For Windows Me, start your computer with the Windows Me floppy boot disk, and select Minimal boot.

At the command prompt, type scandisk followed by a space, and then one of the following switches:
Switch: /all
Function: Checks and repairs all local drives.

Switch: /autofix
Function: Fixes damage without prompting.

Switch: /checkonly
Function: Checks a drive, but does not repair any damage.

Switch: /custom
Function: Configures and runs Scandisk according to the Scandisk.ini file settings.

Switch: /nosave
Function: With /autofix, deletes lost clusters rather than saving as files.

Switch: /nosummary
Function: When used with /checkonly, or /autofix, it prevents Scandisk from stopping at the summary screen.

Switch: /surface
Function: Performs a surface scan after other checks.

Switch: /mono
Function: Configures Scandisk for use with monochrome display.


For help with common system maintenance tasks in Windows Vista, visit the following Microsoft Web page:
Fix problems with common system maintenance tasks

Properties

Article ID: 199557 - Last Review: January 23, 2007 - Revision: 1.5
APPLIES TO
  • Microsoft Windows Millennium Edition
  • Microsoft Windows 98 Standard Edition
  • Microsoft Windows 98 Second Edition
Keywords: 
kbenv kbhowto KB199557

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com