上一主题: selogmix 实用程序-分割和合并审核日志文件下一主题: senable 实用程序-启用已禁用的用户帐户


semsgtool 实用程序-维护消息文件

通过 semsgtool 实用程序可以:

每次执行 semsgtool 时,只能指定一个命令。

消息文件的默认位置为 ACInstallDir/data/seos.msg

注意:CA ControlMinder 消息文件由部分和消息编号组成。 每个部分保存不同 CA ControlMinder 模块或子模块的消息。‑

此命令格式如下:

semsgtool {-build|-b} asciiSourceFile OutputMessageFile
semsgtool {-change|-c} [messageFile] {0xerror-code|section# msg#} new-message
semsgtool {-dump|-d} messageFile
semsgtool {-list|-l} [messageFile] sectionNumber
semsgtool {-number|-n} [messageFile] subString
semsgtool {-show|-s} [messageFile] [0xerror-code|section# msg#]
semsgtool {-validate|-v} [messageFile]
‑build|‑b

从 ASCII 源文件创建新的 CA ControlMinder 消息文件。

-number|-n

列出包含定义字符串的消息文件中的消息。

-change|-c

创建新消息文件,名为 messageFile.new,其中指定的消息具有定义的已修改字符串。

‑dump|‑d

将消息文件转储到多个文件中,每个文件针对消息文件中的每一部分。 此操作会创建 ASCII 源文件,以后可使用 ASCII 源文件创建新的 CA ControlMinder 消息文件。

‑h

显示该实用程序的帮助。

‑list|‑l

列出消息文件给定部分中的所有消息。

‑show|‑s

显示与特定消息代码相关联的消息。

-validate|-v

(仅限于 Windows)。 通过检查重复消息和超出分配界限的消息来验证消息文件。

0xerror-code

为要显示或更改的消息定义错误代码的十六进制数字。

asciiSourceFile

定义 semsgtool 用于构建新消息文件的 ASCII 格式源文件。

messageFile

定义消息文件的名称。 如果忽略此选项,则 semsgtool 将使用配置设置中指定的消息文件。

OutputMessageFile

定义要构建的新消息的名称。

section# msg#

为要显示或更改的消息定义错误代码的部分号和消息号。

sectionNumber

定义要列出所有消息的部分的部分号。

示例