[Mono-list] mono setup for windows
Sat, 30 Mar 2002 08:05:45 -0700
Guenther Roith wrote:
> - I have fixed some bugs now. Does anybody know how my setup could set the
> path, forever?
> It is set now everytime by mint.bat again.
> We could put it in autoexec.bat automaticaly, but this doesn't exist on
> every computer (nt/win2k?)
Actually, autoexec.bat does get some special treatment on NT/2K/XP, but only
for command prompts (i.e., it doesn't affect anything run from the shell).
If you want to change the PATH:
You'll need to ask the user to logoff/login for this to take effect, unless
you can reverse engineer how the Environment control panel applet tells the
shell to reload its environment variables (and remember to test this against
both OSes with integrated IE shells, like 2K/XP, and those without, like
And, of course on 9x, you should use AUTOEXEC.BAT and force a reboot.
Read my web log at http://www.quality.nu/dotnetguy/