使用 profile 命令来导出或导入编辑器缺省设置。
profile { export [ prompt ] [ "filename" ] | import [ prompt ] [ "filename" ] }
export | 使用 export 参数来将当前缺省编辑器设置保存到文件中。 |
import | 使用 import 参数来从文件中读取缺省编辑器设置。 |
prompt [ "filename" ] | 使用 prompt 参数来提示用户输入将把缺省设置导出到的文件或是将从中导入编辑器设置的文件。如果还指定了 filename 参数,则会使用指定的文件名初始化文件对话框。 |
"filename" | 使用 filename 参数来指示将把缺省设置导出到的文件或是将从中导入编辑器设置的文件。如果未指定,则将提示用户输入文件名。 |
status 参数将被设置为下列其中一项:
null 导出或导入操作已成功。 save.cancelled 用户取消了导出。 save.failed 导出不成功。 import.cancelled 用户取消了导入。 file.errorReading 导入不成功。
profile export C:\temp\MyProfile.properties profile import "C:\Lpex Profiles\GreenScreen.properties"
defaultProfile 参数
status 参数
Copyright IBM Corporation 1992, 2006. All Rights Reserved.