admin管理员组

文章数量:1536595

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

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

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

or Codes)可以帮上你的忙。

从MSDN 上找到关于如下信息(/en-us/library/ms6813

),页面的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 ma

ny hundreds of locations in the system. Consequently the descriptions of t

hese codes cannot be very specific. Use of these codes requires some amo

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

and the run-time context in which these errors occur. Because these code

s are defined in winerror.h for anyone to use, sometimes the codes are re

turned 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 er

ror.

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

Date Updated

Versions affected

OS affected

Windows System Error Codes (exit codes)

Automize 4.x+

Windows

The Command and WinCommand task sometimes do not return any error

Description

Causes

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.

27 The drive cannot find the sector requested.

28 The printer is out of paper.

29 The system cannot write to the specified device.

30 The system cannot read from the specified device.

31 A device attached to the system is not functioning.

mean much to the user. The table below describes these Error codes

Windows does not return error messages all the time.

messages, when your batch files fail. These task return error codes, which do n

本文标签: 信息运行未知