• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

why doesn't the PATH I set stay set in win2k?

dpopiz

Diamond Member
I'm using Mono 1.0 (open source .net framework). it includes a little batch file to add its install dirs to the PATH entry so that the compiler and the runtime will be easily available everywhere.
so here's what I'm doing:

I open a cmd window and go to the Mono dir.
I run the PATH setter batch.
the PATH now works everywhere I go within that cmd window.
but now if I close the current cmd window and open a new one, it forgets to PATH entry.

why? is there some way to make it remember between sessions?
 
My Computer\Properties\Advanced then Environment Variables is the way to edit your path.
Bill
 
Using a set command only ever works for that shell. If you were to open up a new shell before closing the other one you'd note that the two have different path variables.

AFAIK you have three options for setting your path permanently.
You can copy the path setting commands into c:\autoexec.bat (I think that would require a restart after).
You can set them in the registry manually (HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment).
The reccomended way is My Computer (right click) -> Properties -> Advanced -> Environment Variables -> find the PATH variable in the bottom box. Entries are semi-colon separated.

Edit: crap! beaten to the punch
 
Back
Top