Sunday, January 16, 2005 1:55 AM jerdenn

Updating the Path environment variable from nAnt scripts, Redux...

A few weeks ago, I posted a mechanism for updating an environment variable from nAnt scripts.  I had done my google-due-dilligence, and still had not found a way to accomplish this task, so I decided to share my quick and dirty solution here at the "Occasional Clue"...

Apparently, I wasn't the only one to notice this deficiency in nAnt, and the issue came up on the nAnt-Users mailing list.  Ian McClean jumped to the rescue, providing a better solution than mine (There's no permalink, look for "Setting Environment Variables with NAnt").

It's good to see a thriving community around nAnt - I hope that it continues after MSBuild is released, as I've got quite a few man-hours investing in nAnt scripts.

Filed under:

Comments

# re: Updating the Path environment variable from nAnt scripts, Redux...

Sunday, January 16, 2005 4:53 AM by Ian MacLean

heres the permalink -
http://contextfree.blogspot.com/2004/12/setting-environment-variables-with.html
its kinda hard to find on the page - the url is just a "#" at the bottom of the post.

# re: Updating the Path environment variable from nAnt scripts, Redux...

Thursday, May 08, 2008 12:19 PM by Christian

Thanks very much for your code and for the link to the other site

Leave a Comment

(required) 
(required) 
(optional)
(required)