admin管理员组

文章数量:1533920

2024年5月13日发(作者:)

System Error Codes/系统错误代码

在windows上程序或脚本运行突然出现未知错误,没有错误信息只有一个code,怎样知道

究竟是怎么回事呢?如果知道这个code的意思是多么重要的.这时错误代码(System

Error Codes)可以帮上你的忙。

从MSDN 上找到关于如下信息

(/en-us/library/),页面的build date是:

4/27/2010,够新的!包括system error code 的详细信息。另外在

/knowledge/articles/ 页面上可以查看绝大

多数的system error code基本信息.

System Error Codes

The System Error Codes are very broad. Each one can occur in one of many

hundreds of locations in the system. Consequently the descriptions of these

codes cannot be very specific. Use of these codes requires some amount of

investigation and analysis. You need to note both the programmatic and the

run-time context in which these errors occur. Because these codes are defined

in winerror.h for anyone to use, sometimes the codes are returned by

non-system code. Sometimes the code is returned by a function deep in the

stack and far removed from your code that is handling the error.

The following topics provide lists of system error codes. These values are

defined in the winerror.h header file.

System Error Codes (0-499)

System Error Codes (500-999)

System Error Codes (1000-1299)

System Error Codes (1300-1699)

System Error Codes (1700-3999)

System Error Codes (4000-5999)

System Error Codes (6000-8199)

System Error Codes (8200-8999)

System Error Codes (9000-11999)

System Error Codes (12000-15999)

copy from:

/en-us/library/

0-14080 Windows System Error Code:

Title Windows System Error Codes (exit codes)

Date Updated 03/24/2006

Versions

affected

OS affected

Automize 4.x+

Windows

The Command and WinCommand task sometimes do not

Description

return any error messages, when your batch files fail. These

task return error codes, which do not mean much to the user.

The table below describes these Error codes

Causes Windows does not return error messages all the time.

Code Description

0 The operation completed successfully.

1 Incorrect function.

2 The system cannot find the file specified.

3 The system cannot find the path specified.

4 The system cannot open the file.

5 Access is denied.

6 The handle is invalid.

7 The storage control blocks were destroyed.

8 Not enough storage is available to process this command.

9 The storage control block address is invalid.

10 The environment is incorrect.

11 An attempt was made to load a program with an incorrect format.

12 The access code is invalid.

13 The data is invalid.

14 Not enough storage is available to complete this operation.

15 The system cannot find the drive specified.

16 The directory cannot be removed.

17 The system cannot move the file to a different disk drive.

18 There are no more files.

19 The media is write protected.

20 The system cannot find the device specified.

21 The device is not ready.

22 The device does not recognize the command.

23 Data error (cyclic redundancy check).

24 The program issued a command but the command length is incorrect.

25 The drive cannot locate a specific area or track on the disk.

26 The specified disk or diskette cannot be accessed.

本文标签: 信息运行未知出现脚本