Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Can anyone tell me where to find the meaning of ERRORLEVEL values from DOS commands? I'm specifically looking for the values returned by COPY (what does ERRORLEVEL 1 mean!!?), but would like to know how to find other codes, too.
Thanks!

Hi,
Below are just a few but not all.
Excuse No1. I am a terrible typest.
Excuse No2. I am a very slow typest.
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 incompleteCHDSK
0 No Errors
255 Errors DetectedCHOICE
0 User Pressed CTRL-C
255 Errors DetectedDEFRAG
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 MemoryDELTREE
0 Successful Deletion of Directory + ContentsDISCOMP
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 ErrorDISKCOPY
0 Successful Copy
1Nonfatal Read or Write Error
2 User Pressed CRTL-C
3 Read Problem or Disk Format Problem
4 Invalid Drive, Memory or Syntax ErrorFIND
0 Successful Search
1 Search Complete no Matches Found
2 Error during SearchGRAFTABL
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
MSAV
86 Virus DetectedHope this will get you started.
World Library

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |