First post, by EMJ
In real DOS machines I had a small program capable to set environment variables.
This is a very valuable asset for batch enhancement, it allows to get strings into environment variables, manipulate them, etc.
This is not possible under Windows since any program running gets a copy of the environment, and when the program exit the original environment is restored.
Any SetEnvironment(Variable,Value) procedure will not change the system environment, only the child environment.
I wonder if this small program called "WHAT" could work under DOSbox, for the opened DOSbox window, of course, even if I need to make some code for it.
I attach the "WHAT" program code and EXE.
Thanks
Eli