Reading System Envi...
 
Notifications
Clear all

We had a major storm through here recently and we suffered damage to the house roof and ceilings. I just received the quote to repair. I’m hoping that a small fraction of the 80,000 odd people that download SDIO and/or Desktop Info every month won’t mind chipping in a few dollars to help out. Click on the big blue button at the bottom of the page to help us keep a roof over our heads, literally!

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
95 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: 7 years ago
Posts: 1834
 

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