大网数据广告活动
安装更新与部署

ICE65

· 52CE 我爱测

ICE65 checks that the Environment table does not have invalid prefix or append values.

ICE65 checks that the Environment table does not have invalid prefix or append values.

Failure to fix a warning or error reported by ICE65 generally leads to problems in install, uninstall, or repair of the environment variable. For example, only some values of a particular variable may be removed if one or more of the values for that variable have a trailing separator.

Result

ICE65 posts a warning or an error if the environment table has invalid prefix or append values.

Example

ICE65 reports the following error and warning for the example shown.

The environment variable 'Var3' has a separator beginning or ending its value.

The trailing null at the end of the value ([~]) marks this value to be prepended to any existing value. The character immediately before the null (a semicolon) becomes the separator for this value. This value has a semicolon at the beginning of the string as well.

To fix this error, simply delete the leading semicolon.

WARNING: The environment variable 'Var2' has an alphanumeric separator

The leading null in the value ([~]) marks this value to be appended to any existing value. The character immediately after the null becomes the separator for this value. In this case, that character is the letter "e", which also occurs in the middle of the string to be appended. This condition (having a separator that is the same as a character within the string to be appended) can cause unpredictable results.

The letter "e", being a common letter, is likely to be found in the value. A better choice would be ";" or some other non-alphanumeric character. (However, if the value is a path, then ":" and "\" and "." are risky choices.)

To fix this warning, use a different separator character.

Environment Table

Component Directory Attributes KeyPath
Var1 TestVar [~];AppendThis TestComponent
Var2 TestVar [~]eAppendThis TestComponent
Var3 TestVar ;PrependThis;[~] TestComponent

Related topics

ICE Reference

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。