edit environment variables

Features wanted...
Post Reply
bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

edit environment variables

Post 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.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Post Reply