MS-DOS ERRORLEVELS - what do they mean?

BACKUP

  • 0 Successful Backup
  • 1 No Files to Back Up
  • 2 File Sharing Conflict
  • 3 User Pressed CTRL-C Backup Incomplete
  • 4 Fatal err; Backup incomplete

CHDSK

  • 0 No Errors
  • 255 Errors Detected

CHOICE

  • 0 User Pressed CTRL-C
  • 255 Errors Detected

DEFRAG

  • 0 Successful Defragmentation
  • 1 Internal Error in Processing
  • 2 No Free Clusters ;( Needs at least one)
  • 3 Usre Pressed CTRL-C
  • 4 General Error in Processing
  • 5 Disk Read Error
  • 6 Disk Write Error
  • 7 Cluster Allocation Error ( Use CHDSK /F)
  • 8 Memory Allocation Error
  • 9 Insufficient Memory

DELTREE

  • 0 Successful Deletion of Directory + Contents

DISCOMP

  • 0 Disk Compare Exactly
  • 1 Disk are Not the Same
  • 2 User Pressed CTRL-C
  • 3 Read or Write Error
  • 4 Invalid Drive,Memory or Syntax Error

DISKCOPY

  • 0 Successful Copy
  • 1 Nonfatal Read or Write Error
  • 2 User Pressed CRTL-C
  • 3 Read Problem or Disk Format Problem
  • 4 Invalid Drive, Memory or Syntax Error

FIND

  • 0 Successful Search
  • 1 Search Complete no Matches Found
  • 2 Error during Search

GRAFTABL

  • 0 Table Loaded Successfully
  • 1 Previously Loaded Table Replaced
  • 2 No New Table Loaded
  • 3 Incorrect MS-DOS Version

KEYB

  • 0 Successful Keyboard Load
  • 1 Invalid Command Line
  • 2 Invalid Keyboard Defination Table
  • 3 Cannot Create table
  • 4 CON Device Error
  • 5 Code Page not Prepared
  • 6 Missing Translation Table
  • 7 Incorrect MS-DOS Version

MOVE

  • 0 Files Moved Successfully
  • 1 Error in Moving Files

Ideas for the site or problems with the site. please let me know!