<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: C# &#8211; Get Windows Temporary Directory</title>
	<atom:link href="http://www.leggetter.co.uk/2007/02/02/get-windows-temporary-directory.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.leggetter.co.uk/2007/02/02/get-windows-temporary-directory.html</link>
	<description>Real-Time Web, Real-Time Data and Social Media Software and Technology Evangelist and Consultant</description>
	<lastBuildDate>Fri, 27 Jan 2012 15:26:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Phil Leggetter</title>
		<link>http://www.leggetter.co.uk/2007/02/02/get-windows-temporary-directory.html/comment-page-1#comment-9727</link>
		<dc:creator>Phil Leggetter</dc:creator>
		<pubDate>Sun, 10 Apr 2011 20:39:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.leggetter.co.uk/2007/02/02/get-windows-temporary-directory.html#comment-9727</guid>
		<description>Double backslash will escape to a single backslash.

e.g. &quot;c:\&quot; will become &quot;c:&quot;

To keep the double backslash you need to precede the string with an @ to stop the backlash being escaped.

e.g. @&quot;c:\&quot;

If you want to replace slashes in a string the following would work:

string newValue = &quot;c:\tempsomething&quot;.Replace(@&quot;&quot;);

newValue should then have a value of &quot;c:tempsomething&quot;.</description>
		<content:encoded><![CDATA[<p>Double backslash will escape to a single backslash.</p>
<p>e.g. &#8220;c:\&#8221; will become &#8220;c:&#8221;</p>
<p>To keep the double backslash you need to precede the string with an @ to stop the backlash being escaped.</p>
<p>e.g. @&#8221;c:\&#8221;</p>
<p>If you want to replace slashes in a string the following would work:</p>
<p>string newValue = &#8220;c:\tempsomething&#8221;.Replace(@&#8221;");</p>
<p>newValue should then have a value of &#8220;c:tempsomething&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erick Figueroa</title>
		<link>http://www.leggetter.co.uk/2007/02/02/get-windows-temporary-directory.html/comment-page-1#comment-9726</link>
		<dc:creator>Erick Figueroa</dc:creator>
		<pubDate>Sun, 10 Apr 2011 20:15:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.leggetter.co.uk/2007/02/02/get-windows-temporary-directory.html#comment-9726</guid>
		<description>do you know how to replace the double backslash from the path string for single slash? I tried wuth .Replace method without succed... I need it for locate a file in my aplication</description>
		<content:encoded><![CDATA[<p>do you know how to replace the double backslash from the path string for single slash? I tried wuth .Replace method without succed&#8230; I need it for locate a file in my aplication</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Fritz</title>
		<link>http://www.leggetter.co.uk/2007/02/02/get-windows-temporary-directory.html/comment-page-1#comment-9719</link>
		<dc:creator>Matthew Fritz</dc:creator>
		<pubDate>Wed, 16 Mar 2011 09:17:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.leggetter.co.uk/2007/02/02/get-windows-temporary-directory.html#comment-9719</guid>
		<description>Something so simple. I googled this and found my way here! Thanks Phil!</description>
		<content:encoded><![CDATA[<p>Something so simple. I googled this and found my way here! Thanks Phil!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Database Caching 16/27 queries in 0.018 seconds using disk: basic

Served from: www.leggetter.co.uk @ 2012-02-07 10:36:51 -->
