Dos Error
Contents |
File not found 03 Path not found 04 Too many open files (no handles left) 05 Access denied 06 Invalid handle 07 Memory control blocks
Operating System Error
destroyed 08 Insufficient memory 09 Invalid memory block address 0A Invalid environment 0B Invalid unix error format 0C Invalid access mode (open mode is invalid) 0D Invalid data 0E Reserved 0F Invalid drive specified 10 Attempt windows error to remove current directory 11 Not same device 12 No more files 13 Attempt to write on a write-protected diskette 14 Unknown unit 15 Drive not ready 16 Unknown command 17 CRC error
Linux Error
18 Bad request structure length 19 Seek error 1A Unknown media type 1B Sector not found 1C Printer out of paper 1D Write fault 1E Read fault 1F General failure 20 Sharing violation 21 Lock violation 22 Invalid disk change 23 FCB unavailable 24 Sharing buffer overflow 25 Reserved 26 Unable to complete file operation (DOS 4.x) 27-31 Reserved 32 Network request not supported 33 Remote computer not
Dos Error 5
listening 34 Duplicate name on network 35 Network name not found 36 Network busy 37 Network device no longer exists 38 NetBIOS command limit exceeded 39 Network adapter error 3A Incorrect network response 3B Unexpected network error 3C Incompatible remote adapter 3D Print queue full 3E No space for print file 3F Print file deleted 40 Network name deleted 41 Access denied 42 Network device type incorrect 43 Network name not found 44 Network name limit exceeded 45 NetBIOS session limit exceeded 46 Temporarily paused 47 Network request not accepted 48 Print or disk redirection is paused 49-4F Reserved 50 File already exists 51 Reserved 52 Cannot make directory entry 53 Fail on INT 24 54 Too many redirections 55 Duplicate redirection 56 Invalid password 57 Invalid parameter 58 Network device fault 59 Function not supported by network (DOS 4.x) 5A Required system component not installed (DOS 4.x) DOS Error Code/Classes Error Classes 01 Out of resource, out of space, channel, etc 02 Temporary situation, not an error, ex: file lock 03 Authorization, permission denied 04 Internal, system detected internal error 05 Hardware failure, serious problem related to hardware 06 System failure, ex: invalid configuration 07 Application error, inconsistent
command or file name Bad or missing command interpreter Cannot perform a cyclic copy Divide overflow Drive not ready Duplicate file name or file not found File cannot be copied onto itself File creation error File not dos error 64 found General Failure Insufficient disk space Internal stack overflow Invalid directory Invalid drive specification Invalid
Dos Error 4
file name or file not found Invalid media, track 0 bad or unusable Invalid number of parameters Invalid parameter Invalid Switch Non-System disk dos error level or disk error Not ready, reading drive X Parse error The system cannot find the drive specified The system cannot find the file specified The system cannot find the path specified Write fault error Write protect A http://stanislavs.org/helppc/dos_error_codes.html duplicate file name exists, or the file cannot be found When attempting to rename a file, the file does not exist or there is already a file with that name. Verify no other file exists with the same name in the current directory and that you're typing the file you want to rename correctly. How to change or rename a file, folder, or directory. Abort, Retry, Fail? This error is commonly encountered when attempting to read http://www.computerhope.com/doserror.htm a diskette that is not readable or if no disk or disc in the drive trying to be read. Unable to read floppy diskette. CD-ROM receiving power but does not work. Access denied In new versions of Windows Vista, Windows 7, Windows 8, and Windows 10 if you do not run the Windows command line in an elevated mode you will get "Access denied" errors when running a command. See our elevated mode for information about this mode and how to enter the mode. or Access dened can also be caused when a file or directory has read-only attributes, is being modified by another person or program, or other permissions preventing the action. See the attrib command for further information and options on this command. Bad command or file name Caused by a misspelling or error when typing a command or when the command attempting to be used is not a valid command for your version of MS-DOS or Windows. See our file name page for information about files, file name examples, and a list of invalid characters. Bad or missing command interpreter The computer cannot locate the command.com (command interpreter), an important file that enables the computer to boot into the operating system. Receiving error "Missing command interpreter." Cannot perform a cyclic copy This error occurs when you're trying to copy or xcopy all di
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us http://stackoverflow.com/questions/2521818/easy-way-to-see-dos-command-return-code Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up easy way to see dos command return dos error code up vote 21 down vote favorite 5 Sometimes I run a command in cmd such as: fc /b file1 file2 and would like to see the return code from fc. Is there a simple way to do this? windows cmd dos return-code share|improve this question asked Mar 26 '10 at 8:07 Warpin 3,48473764 add a comment| 1 Answer 1 active oldest votes up vote 42 down operating system error vote accepted echo %ERRORLEVEL% From TechNet, Command shell overview: "%ERRORLEVEL% ... Returns the error code of the most recently used command. A non zero value usually indicates an error." To test for specific error levels in batch files, you may find this knowledgebase article useful. share|improve this answer answered Mar 26 '10 at 8:16 Andras Vass 9,4162341 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged windows cmd dos return-code or ask your own question. asked 6 years ago viewed 34425 times active 6 years ago Related 643How to pass command line parameters to a batch file?264Is there a command to refresh environment variables from the command prompt in Windows?6What is the Windows/cmd.exe equivalent of Linux/bash's $? — the program exit/return code?1327Is there an equivalent of 'which' on the Windows command line?467How do I get the application exit code from a Windo