Am 15.11.2010 16:14, schrieb Bo Berglund:

Now at work where I have a Win7 PC I have made the same tests as I did
back home on the XP PC. I added one bogus path member to both User and
System path via Control Panel.
Results:

Win XP-Pro SP3:
+ New User path updated immediately in newly started cmd processes
- New System path is updated only after a system restart

Win7Pro X64:
+ New User path immediately available in a new cmd window
+ New System path is also immediately available

So I guess it is a legacy thing on XP....


Thanks for testing.

I'll test that tomorrow at work as well (I have a XP there and I want to know whether I just imagined all that ^^).

Note though that applications reading the environment variable from
the registry rather than using the API will see the new system path
entry as soon as it has been saved in Control Panel.


I personally consider something like that "bad practice"...

Regards,
Sven

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to