user enviroment var NEWLISPDIR

Started by HPW, December 04, 2007, 11:09:01 PM

Previous topic - Next topic

HPW

Since 9.2.1 we have (env "NEWLISPDIR").

But this is only a valid variable in the running newlisp-process.



So it would be usefull to let the newlisp installer set a system-wide user enviroment variable,

so other applikation could know where newlisp is stored.



On my german WIN it would be:



NEWLISPDIR = C:Programmenewlisp



The installer defaults to this path, but what happens when the user put it elsewhere?



Other systems does similar, so I have a Tcl_DLL and a Tk_DLL in HKEY_CURRENT_USEREnvironment.
Hans-Peter