Windows 95 ScanDisk (SCANDSKW) Exit Codes

Last reviewed: September 13, 1995
Article ID: Q126280
The information in this article applies to:
  • Microsoft Windows 95

SUMMARY

This article lists the exit codes that an IF ERRORLEVEL statement can detect after you run ScanDisk.

MORE INFORMATION

ScanDisk can return the following exit codes:

   0x00 - Drive(s) checked, no errors found
   0x01 - Errors found, all fixed
   0xFA - Check couldn't start, couldn't find or load DSKMAINT.DLL
   0xFB - Check couldn't start, insufficient memory
   0xFC - Errors found, at least some not fixed
   0xFD - At least one drive could not be checked
   0xFE - Check was canceled
   0xFF - Check was terminated due to an error

Note that there is no distinction between codes 0x00 and 0x01 (or between 0x00 and 0xFC when ScanDisk is run in Preview mode) on removable media (such as a floppy disk).


KBCategory: kbtool
KBSubcategory: wpp95 win95 diskmem
Additional reference words: 95 errorlevels error levels


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: September 13, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.