Pro/Toolkit applications often provide great value. However, not every user needs to be running all applications all of the time. Pro/Toolkit provides a few options for the startup of applications, but these options apply to all users. There aren't any options there to give you direct control on a per user basis. This can be accomplished, however, just in a different way, via the config.pro file.
The trick is to use an environment variable for the value of the PROTKDAT option. The syntax (for both unix and windows) would look like this:
For users that need the application, set the environment variable before Pro/Engineer starts to contain the path and file name of the Pro/Toolkit application registry file.
Here are some examples:
Unix C Shell:
setenv SOME_TK_APP /opt/myprogram/protk.dat
Unix Bourne/Bash Shell:
Windows Batch File:
When Pro/Engineer reads the config.pro, it will check the value of the environment variable. If the environment variable is not defined, or doesn't contain the path to a Pro/Toolkit registry file, the config.pro option is silently ignored. Otherwise, it reads in the registry file data and starts the application as instructed.