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?
Thanks,
D.
New: Notes (Mar 28, 2024), Platform 29.3 (Mar 26, 2024)
1,000+ portable packages, 1.1 billion downloads
Please donate today to keep us online!
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.
--> https://portableapps.com/node/25975
Can the developer team implement "Environment Variables" option inside the PortableApps Menu ?