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: streamWriter (Jun 28, 2024), Platform 29.5.3 (Jun 27, 2024)
1,100+ portable packages, 1.1 billion downloads
Please donate today
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 ?