Internal DOS Error Codes

  Internal DOS Error Codes

These codes are returned by internal DOS service calls and are normally only of interest to programmers. However the codes sometimes appear in DOS or application error messages (it may not always be clear whether the code is decimal or hex).

In some cases it is helpful to run the IBM-DOS QCONFIG  to see DOS system resources available. If you are working on a MS-Windows installed computer you can also try MSD  to see the available system resources.

    Hex   Decimal   Meaning
  01H     1       Invalid function number
  02H     2       File not found
  03H     3       Path not found
  04H     4       Too many open files (no handles left)
  05H     5       Access denied
  06H     6       Invalid handle
  07H     7       Memory control blocks destroyed
  08H     8       Insufficient memory
  09H     9       Invalid memory block address
  0AH     10      Invalid environment
  0BH     11      Invalid format
  0CH     12      Invalid access code
  0DH     13      Invalid data
  0EH     14      Reserved
  0FH     15      Invalid drive was specified
  10H     16      Attempt to remove the current directory
  11H     17      Not same device
  12H     18      No more files
  13H     19      Attempt to write on write-protected media
  14H     20      Unknown unit
  15H     21      Drive not ready
  16H     22      Unknown command
  17H     23      Cyclic redundancy check (CRC) -- part of diskette is bad
  18H     24      Bad request structure length
  19H     25      Seek error
  1AH     26      Unknown media type
  1BH     27      Sector not found
  1CH     28      Printer out of paper
  1DH     29      Write fault
  1EH     30      Read fault
  1FH     31      General failure
  20H     32      Sharing violation
  21H     33      Lock violation
  22H     34      Invalid disk change
  23H     35      FCB unavailable
  24H     36      Sharing buffer overflow
  25H     37      Reserved by DOS 5.0
  26H     38      Unable to complete the operation
  27H-31H 39-49   Reserved by DOS 5.0
  32H     50      Network request not supported
  33H     51      Remote computer not listening
  34H     52      Duplicate name on network
  35H     53      Network path not found
  36H     54      Network busy
  37H     55      Network device no longer exists
  38H     56      NETBIOS command limit exceeded
  39H     57      System error; NETBIOS error
  3AH     58      Incorrect response from network
  3BH     59      Unexpected network error
  3CH     60      Incompatible remote adapter
  3DH     61      Print queue full
  3EH     62      Not enough space for print file
  3FH     63      Print file was cancelled
  40H     64      Network name was denied
  41H     65      Access denied
  42H     66      Network device type incorrect
  43H     67      Network name not found
  44H     68      Network name limit exceeded
  45H     69      NETBIOS session limit exceeded
  46H     70      Sharing temporarily paused
  47H     71      Network request not accepted
  48H     72      Print or disk redirection is paused
  49H-4FH 73-79   Reserved
  50H     80      File exists
  51H     81      Reserved
  52H     82      Cannot make directory entry
  53H     83      Fail on INT 24
  54H     84      Too many redirections
  55H     85      Duplicate redirection
  56H     86      Invalid password
  57H     87      Invalid parameter
  58H     88      Network data fault
  59H     89      Function not supported by network
  5AH     90      Required system component not installed

Back to  Jump to TOP-of-PAGE

Please see the LEGAL  -  Trademark notice.
Feel free - send a Email-NOTE  for any BUG on this page found - Thank you.