<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.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 Can I Remove the Last Carriage Return-Linefeed in a Text File?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2005/05/20/how-can-i-remove-the-last-carriage-return-linefeed-in-a-text-file.aspx</link><description>Hey, Scripting Guy! How can I remove the last carriage return-linefeed in a text file? -- LEK 
 Hey, LEK. From the rest of your email you note that you’re using the FileSystemObject to read a text file, then using the contents of that text file as a</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: How Can I Remove the Last Carriage Return-Linefeed in a Text File?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2005/05/20/how-can-i-remove-the-last-carriage-return-linefeed-in-a-text-file.aspx#3563841</link><pubDate>Fri, 05 Apr 2013 20:46:40 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3563841</guid><dc:creator>Robert</dc:creator><description>&lt;p&gt;YOU ROCK!!! I had a script to rename a pc automatically if it had to be re-imaged by looking at a txt file echo of the old pc name... it wouldn&amp;#39;t work unless i removed that final carriage return! Thanks again.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3563841" width="1" height="1"&gt;</description></item><item><title>re: How Can I Remove the Last Carriage Return-Linefeed in a Text File?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2005/05/20/how-can-i-remove-the-last-carriage-return-linefeed-in-a-text-file.aspx#3468277</link><pubDate>Thu, 01 Dec 2011 07:55:06 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3468277</guid><dc:creator>XK</dc:creator><description>&lt;p&gt;Thank you so much. This is best solution to remove carriage return.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3468277" width="1" height="1"&gt;</description></item><item><title>re: How Can I Remove the Last Carriage Return-Linefeed in a Text File?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2005/05/20/how-can-i-remove-the-last-carriage-return-linefeed-in-a-text-file.aspx#3441825</link><pubDate>Fri, 15 Jul 2011 03:27:39 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3441825</guid><dc:creator>Desmond</dc:creator><description>&lt;p&gt;Great!This is a good one that i am loking for. How to delete all line feed and carriage-return if the txt contain more than 1 carriage-return and line feed?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3441825" width="1" height="1"&gt;</description></item><item><title>re: How Can I Remove the Last Carriage Return-Linefeed in a Text File?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2005/05/20/how-can-i-remove-the-last-carriage-return-linefeed-in-a-text-file.aspx#3424833</link><pubDate>Thu, 28 Apr 2011 07:29:14 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3424833</guid><dc:creator>Vishal</dc:creator><description>&lt;p&gt;Thanks .. this is what I was looking for.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3424833" width="1" height="1"&gt;</description></item><item><title>re: How Can I Remove the Last Carriage Return-Linefeed in a Text File?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2005/05/20/how-can-i-remove-the-last-carriage-return-linefeed-in-a-text-file.aspx#3393910</link><pubDate>Fri, 11 Mar 2011 23:19:15 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3393910</guid><dc:creator>Jon Wells</dc:creator><description>&lt;p&gt;This was EXACTLY what was NECESSARY. Thanks so much.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3393910" width="1" height="1"&gt;</description></item><item><title>re: How Can I Remove the Last Carriage Return-Linefeed in a Text File?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2005/05/20/how-can-i-remove-the-last-carriage-return-linefeed-in-a-text-file.aspx#3375253</link><pubDate>Wed, 15 Dec 2010 16:00:03 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3375253</guid><dc:creator>Big Woody</dc:creator><description>&lt;p&gt;Thanks - exactly what I was looking for!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3375253" width="1" height="1"&gt;</description></item></channel></rss>