现在我们用的AVEVA Marine和Review每个月都更新许可,基本上每次启动的时候都会弹出许可到期提醒。许可用得是Flexman 5,查文档《Flexman 5 Installation and Configuration Guide》获得下面一段话:
4.3 How to Suppress License Expiry Warnings
It is important to have warnings that a license file that is about to expire so that appropriate
action can be taken. However, it can be irritating to see these warning messages too soon.
The warning period is set to 28 days by default. The warning period may be reduced by
setting the environment variable: CADCENTRE_LICENSE_FILE_WARN_COUNTDOWN to
an integer value not less than 3.
Marine和Review都有evars存放环境变量的批处理文件,在这个文件中添加
set CADCENTRE_LICENSE_FILE_WARN_COUNTDOWN=3
就不会频繁的弹出提示了。