Page 1 of 1

edit environment variables

Posted: 02 Nov 2017 16:57
by bdeshi
Don, can you please add the ability to edit the environment variable for an XYplorer/XYScript session? Processes started from XYplorer inherit its environment, so the ability to edit them will help tremendously from a programming perspective.

Suppose I have some programs for working in XY language, out of %PATH% (because I don't use them often, and don't want to litter %PATH% unnecessarily). When working on a XY language project in Sublime Text, I'll add that folder to %PATH%, and then I start Sublime from XYplorer the updated %PATH% will be inherited and I can call those programs much easily.
You can also consider env editing within xyscripts: maybe a statement like setenv "VAR", "VALUE"; which will be called before a run() call, much like setting[p] is used now before file operations.

Since I start most dev tools from XYplorer catalog, this ability will let XYplorer supplant environment updating bat files all over the system.