<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How do I get and set Environment variables?</title><link>http://blogs.msdn.com/csharpfaq/archive/2004/12/02/273785.aspx</link><description>Use the System.Environment class. Specifically the GetEnvironmentVariable and SetEnvironmentVariable methods. Admitedly, this is not a question specific to C#, but it is one I have seen enough C# programmers ask, and the ability to set environment variables</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: How do I get and set Environment variables?</title><link>http://blogs.msdn.com/csharpfaq/archive/2004/12/02/273785.aspx#274344</link><pubDate>Fri, 03 Dec 2004 15:49:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:274344</guid><dc:creator>Sheeshers</dc:creator><description>Can someone answer the question posted at the URL above?</description></item><item><title>re: How do I get and set Environment variables?</title><link>http://blogs.msdn.com/csharpfaq/archive/2004/12/02/273785.aspx#281172</link><pubDate>Mon, 13 Dec 2004 07:22:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:281172</guid><dc:creator>Ernst Kuschke (C# MVP)</dc:creator><description>Something I've wondered about a couple of times: When do environment variables get loaded? Does the OS periodically check for changes? Does it load them per session? No? Yes?</description></item><item><title>Comment manipuler, obtenir et assigner des valeurs aux variables d'environnement ?</title><link>http://blogs.msdn.com/csharpfaq/archive/2004/12/02/273785.aspx#407590</link><pubDate>Tue, 12 Apr 2005 17:01:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:407590</guid><dc:creator>FAQ C#</dc:creator><description /></item><item><title>Comment obtenir et assigner des valeurs aux variables d'environnement ?</title><link>http://blogs.msdn.com/csharpfaq/archive/2004/12/02/273785.aspx#455009</link><pubDate>Tue, 23 Aug 2005 11:48:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:455009</guid><dc:creator>FAQ C# (par Yannick Lejeune)</dc:creator><description /></item><item><title>Martin&amp;#8217;s Blog  &amp;raquo; Blog Archive   &amp;raquo; log4net and the LocalApplicationData folder</title><link>http://blogs.msdn.com/csharpfaq/archive/2004/12/02/273785.aspx#6738149</link><pubDate>Tue, 11 Dec 2007 23:22:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6738149</guid><dc:creator>Martin’s Blog  » Blog Archive   » log4net and the LocalApplicationData folder</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://malor.se/blog/?p=23"&gt;http://malor.se/blog/?p=23&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: How do I get and set Environment variables?</title><link>http://blogs.msdn.com/csharpfaq/archive/2004/12/02/273785.aspx#9935353</link><pubDate>Thu, 10 Dec 2009 20:43:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9935353</guid><dc:creator>Morris Maynard</dc:creator><description>&lt;p&gt;Using this method, you cannot retrieve the environment variable &amp;quot;as is&amp;quot; (without expanding any &amp;quot;%&amp;quot; delimited variables it may contain.) This is odd, since Environment also provides the ExpandEnvironmentVariables method, which would do the expansion if needed.&lt;/p&gt;
</description></item></channel></rss>