change windows system path from cygwin python?
Jason Tishler
jason at tishler.net
Wed Dec 15 14:20:17 EST 2004
On Wed, Dec 15, 2004 at 06:43:35PM +0000, Jeff Lindholm wrote:
> The only issue with this is you will have to reboot for it take
> effect.
The above is not quite true -- at least under NT/2000/XP. The reboot is
only necessary for the SCM (and services) to notice the change.
Otherwise, you just need to send a special Windows event:
http://support.microsoft.com/?kbid=104011
There are tools that will set environment variables and send the
required event. For example, see the following:
http://www.microsoft.com/windows2000/techinfo/reskit/tools/existing/setx-o.asp
Jason
--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6
More information about the Python-list
mailing list