通过 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]
从 ASCII 源文件创建新的 CA ControlMinder 消息文件。
列出包含定义字符串的消息文件中的消息。
创建新消息文件,名为 messageFile.new,其中指定的消息具有定义的已修改字符串。
将消息文件转储到多个文件中,每个文件针对消息文件中的每一部分。 此操作会创建 ASCII 源文件,以后可使用 ASCII 源文件创建新的 CA ControlMinder 消息文件。
显示该实用程序的帮助。
列出消息文件给定部分中的所有消息。
显示与特定消息代码相关联的消息。
(仅限于 Windows)。 通过检查重复消息和超出分配界限的消息来验证消息文件。
为要显示或更改的消息定义错误代码的十六进制数字。
定义 semsgtool 用于构建新消息文件的 ASCII 格式源文件。
定义消息文件的名称。 如果忽略此选项,则 semsgtool 将使用配置设置中指定的消息文件。
定义要构建的新消息的名称。
为要显示或更改的消息定义错误代码的部分号和消息号。
定义要列出所有消息的部分的部分号。
示例
semsgtool -s seos.msg 0x205
semsgtool -l seos.msg 512
semsgtool -c 0x2501 "This is the new message"
新消息文件 seos.msg.new 是通过经修改的消息创建的。
copy seos.msg.new seos.msg
复制带有旧 seos.msg 文件顶部经过修改的消息的新消息文件。
semsgtool ‑s 0x205
版权所有 © 2013 CA。
保留所有权利。
|
|