Scandisk switches?

  • Thread starter Thread starter Newt
  • Start date Start date
Newt said:
Hi,

What are the /switches for use with scandisk and what do they do?

TIA

Newt

From Article:

http://www.computerhope.com/software/scandisk.htm

**********************************
Below is a listing of available switches in MS-DOS scandisk 6.2 and below.
It is important to note that these commands will likely not work in Windows
95 and above.

scandisk [ drive: | /all] [/checkonly | /autofix [/nosave] | /custom]
[/fragment] [/surface] [/mono] [/nosave] [/nosummary]

/all - Checks and repairs all local drives at once.

/checkonly - Checks drive for errors but will not make repairs.

/autofix - Fixes errors without asking you first. Saves lost clusters by
default as files in the drives root directory. Cannot be used with
/checkonly or /custom.

/custom - Runs Scandisk using the settings in [custom] section of the
scandisk.ini file. Cannot be used with /autofix or /checkonly.

/surface - Automatically checks surface after other areas are tested without
prompting you first. When used with /custom, will override any /surface
setting in [Custom] section of scandisk.ini.

/fragment - Checks individual files for fragmentation. Must specify a drive,
path and file name; cannot use any other switches.

/mono - Uses a monochrome display instead of color.

/nosave - Deletes all lost clusters found by Scandisk. Can be used with
/autofix.

/nosummary - Prevents display of full-screen summary after each drive. Use
with /autofix to prevent prompts for undo diskette.
**********************************

There is no information on switches for subsequent versions of Scandisk, but
it is not likely that any of them have changed ...


Drumguy
 
Back
Top