
Well actually, it's your idea. My library is loaded only when needed.woody wrote:You could build an entire library of functions as environment variables, available from anywhere without calling an intermediate library batch file.
I must admit, that is a brilliant idea, Ed.
But now you mention it:
The global environment variables in DOS are nothing more then a bunch of reg keys, loaded when DOS is initialized.
In theory you could build a DOS library as a .reg file and inject it.
I am afraid the linefeed and carriage return won't be an option, but other special characters can be escaped with '\'
It's a very good idea, I'm gonna play with it a little, soon.. ...
This could be interesting, maybe we can use crlf in a reg file.
I currently don't have the time to investigate all this, thought it could be useful...
The CD Forum > CRLF characters in registry data
http://911cd.net/forums/lofiversion/ind ... 16256.html