It seems that TotalCommander does not respond to the WM_SETTINGCHANGE message. If I add a new environment variable via control panel, the added env-var does not appear immediately in TC unless I restart TC.
But I use TC to launch many applications, their env-vars are inherited from TC. Once I changed an env-var from control panel, I need to restart TC before my changes take effect on these applications which will be launched by TC.
I suggest that TC process WM_SETTINGCHANGE message.
WM_SETTINGCHANGE
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50873
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
TC responds to WM_SETTINGCHANGE, but it does not update environment variables from Explorer (yet?). This has been discussed before here.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
This is implemented now since longer, if you upgrade from older versions you might need to set the18.07.07 Added: Update Total Commander's environment variables when the system variables are changed (e.g. via Control Panel - System). Works on WinNT-based systems only
ini setting. Check the online-help for that setting for an explanation.UpdateEnv=3
List of some related posts:
- Wieder einmal: Umgebungsvariablen (10 Jul 2007)
Suggestion - propagating environment variables (02 Nov 2005)
Edit environmental variables used by Total Commander (07 Mar 2003)