#dominoforever | Product Ideas Portal

Welcome to the #dominoforever Product Ideas Forum! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated by HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.

For more information and upcoming events around #dominoforever, please visit our Destination Domino Page

Need a functionality to set the OS environment variable using LotusScript method.

Currently, unable to use the LotusScript method to set the Operating system Environment variable.

The requirement is to add an Environment Variable in the Operating system using the LotusScript method.

  • Guest
  • Sep 12 2022
  • Needs Review
  • Attach files
  • Guest commented
    19 Sep 07:46am

    The session.SetEnvironmentVar method sets a variable in NOTES.INI. Idea requires you to set an operating system environment variable. Such a variable can currently be read using the LotusScript Environ function. For example, Environ("TEMP") is commonly used. But it cannot be set. It's not a problem to set it up via the C API, maybe somehow via a Shell function. But it will always depend on the platform.

  • Guest commented
    16 Sep 12:34pm

    SetEnvironmentVar (NotesSession - LotusScript)

    Sets the value of a string or numeric environment variable.