Reading System Envi...
 
Notifications
Clear all

We appreciate the contributions many of you have been able to make towards repairing the storm damage and keeping a roof over our heads. With your help we’ve been able to complete much of the critical work. There is still work to be done to secure the house and your continued support will be a huge help.

Guests have read-only access to our forums. If you wish to participate you will need to register. Be sure to activate your account from the email sent to you when you register.

Reading System Environment Variables

2 Posts
2 Users
0 Reactions
373 Views
(@alhernan)
New Member Registered
Joined: 4 years ago
Posts: 2
Topic starter  

We set an environment variable after the user logs in. It is used to identify the branch location of the session and pass it to application resources. It is set after DesktopInfo is launched. Is there a method to trigger the application to re-read all system variables? Should our user environment manager start DesktopInfo after it sets the variable? Background refresh?


   
Quote
Glenn
(@glenn)
Member Admin
Joined: 8 years ago
Posts: 1926
 

Desktop Info, as does all Windows applications, inherits the environment that exists at the time the process is created. It is not possible to change that environment after the process has started. However, you can create a small text file containing your information that Desktop Info can read and display using the FILE2TEXT or FILECONTENTS items.


   
ReplyQuote
Glenn's Page