I would like to set an environment variable globally when PortableApps.exe starts so that all portable apps can use it.
Is there a way to do this?
New: Zoom (May 18, 2023), Platform 25.0 (Apr 07, 2023)
New Apr 14: macOS Portable Drive Support
450+ real apps (49GB), 1.1 billion downloads, Please donate.
You could set enviroment variables using a Batch file.
How its done is described here: http://ss64.com/nt/set.html
This batchfile could be startet with the autostart functionality of portableapps.com.
But, as far as i know, there is no option to call such a script during shutdown of portableapps.com to unset your variables.
Thats why i requested this functionality a few minutes ago.
I also mentioned there, that this would solve your problem, too.
Can the developer team implement "Environment Variables" option inside the PortableApps Menu ?