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: WhyNotWin11 (May 15, 2022), Platform 21.2.2 (Mar 31, 2022)
400+ real apps (47GB), 1.04 billion downloads, Please donate.
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.
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 ?