<?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: Processing the contents of a text file using FOR loop</title>
	<atom:link href="http://www.tech-recipes.com/rx/363/processing-the-contents-of-a-text-file-using-for-loop/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tech-recipes.com/rx/363/processing-the-contents-of-a-text-file-using-for-loop/</link>
	<description>Computer and technology tutorials and guides</description>
	<lastBuildDate>Fri, 10 Feb 2012 12:22:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Oz</title>
		<link>http://www.tech-recipes.com/rx/363/processing-the-contents-of-a-text-file-using-for-loop/comment-page-1/#comment-44443</link>
		<dc:creator>Oz</dc:creator>
		<pubDate>Fri, 03 Dec 2010 19:47:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-44443</guid>
		<description>To have the batch file ignore the default behaviour or space and tab delimiters, simply declare a different delimiter (one that probably won&#039;t show up in your file...like a tilde (~), grave (`), etc).

Batch file example:

-- Create a text file with embedded spaces
dir &gt; dir.txt 
-- Add &quot;BEGINNING---&quot; and &quot;---END&quot; to each line. See &quot;out.txt&quot; for results. 
for /f &quot;delims=~&quot; %%a in (dir.txt) do echo BEGINNING---%%a---END &gt;&gt; out.txt</description>
		<content:encoded><![CDATA[<p>To have the batch file ignore the default behaviour or space and tab delimiters, simply declare a different delimiter (one that probably won&#8217;t show up in your file&#8230;like a tilde (~), grave (`), etc).</p>
<p>Batch file example:</p>
<p>&#8211; Create a text file with embedded spaces<br />
dir &gt; dir.txt<br />
&#8211; Add &#8220;BEGINNING&#8212;&#8221; and &#8220;&#8212;END&#8221; to each line. See &#8220;out.txt&#8221; for results.<br />
for /f &#8220;delims=~&#8221; %%a in (dir.txt) do echo BEGINNING&#8212;%%a&#8212;END &gt;&gt; out.txt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom J</title>
		<link>http://www.tech-recipes.com/rx/363/processing-the-contents-of-a-text-file-using-for-loop/comment-page-1/#comment-25869</link>
		<dc:creator>Tom J</dc:creator>
		<pubDate>Thu, 11 Dec 2008 13:35:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-25869</guid>
		<description>Geza,

Very simple
here is an example with your requirements

For /f %%a in (test.txt) do echo computername = %%a&gt;&gt;result.txt &amp; copy \serverfile \%%ac$folder &amp; net send admin %%a has been updated</description>
		<content:encoded><![CDATA[<p>Geza,</p>
<p>Very simple<br />
here is an example with your requirements</p>
<p>For /f %%a in (test.txt) do echo computername = %%a&gt;&gt;result.txt &amp; copy \serverfile \%%ac$folder &amp; net send admin %%a has been updated</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached (User agent is rejected)
Database Caching 2/9 queries in 0.555 seconds using memcached
Object Caching 273/277 objects using memcached

Served from: www.tech-recipes.com @ 2012-02-10 08:34:25 -->
