<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for Jim 2.0's Blog</title>
	<atom:link href="http://jamesewelch.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://jamesewelch.wordpress.com</link>
	<description>Technology, programming, politics, and commentaries</description>
	<lastBuildDate>Thu, 05 Nov 2009 13:52:03 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on How to write a DOS batch file to loop through files by jayant das</title>
		<link>http://jamesewelch.wordpress.com/2008/05/01/how-to-write-a-dos-batch-file-to-loop-through-files/#comment-9068</link>
		<dc:creator>jayant das</dc:creator>
		<pubDate>Thu, 05 Nov 2009 13:52:03 +0000</pubDate>
		<guid isPermaLink="false">http://jamesewelch.wordpress.com/2008/05/01/how-to-write-a-dos-batch-file-to-loop-through-files/#comment-9068</guid>
		<description>Hello

I want to create batch file that output  should be    get all file names from a specified folder to a text file or a excel file

Thanks in advance


</description>
		<content:encoded><![CDATA[<p>Hello</p>
<p>I want to create batch file that output  should be    get all file names from a specified folder to a text file or a excel file</p>
<p>Thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to write a DOS batch file to loop through files by Supreme Ox</title>
		<link>http://jamesewelch.wordpress.com/2008/05/01/how-to-write-a-dos-batch-file-to-loop-through-files/#comment-9062</link>
		<dc:creator>Supreme Ox</dc:creator>
		<pubDate>Thu, 05 Nov 2009 04:14:40 +0000</pubDate>
		<guid isPermaLink="false">http://jamesewelch.wordpress.com/2008/05/01/how-to-write-a-dos-batch-file-to-loop-through-files/#comment-9062</guid>
		<description>I tested it using dir /x tokens=5 to get the short filename and it worked ok, except that the short filename was &quot;noah^s.jpg&quot;, still with the ^ and it came over to runner.bat as NOAH^^S.JPG.</description>
		<content:encoded><![CDATA[<p>I tested it using dir /x tokens=5 to get the short filename and it worked ok, except that the short filename was &#8220;noah^s.jpg&#8221;, still with the ^ and it came over to runner.bat as NOAH^^S.JPG.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to write a DOS batch file to loop through files by Jim</title>
		<link>http://jamesewelch.wordpress.com/2008/05/01/how-to-write-a-dos-batch-file-to-loop-through-files/#comment-9057</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Wed, 04 Nov 2009 16:41:47 +0000</pubDate>
		<guid isPermaLink="false">http://jamesewelch.wordpress.com/2008/05/01/how-to-write-a-dos-batch-file-to-loop-through-files/#comment-9057</guid>
		<description>I&#039;m not asking you to change your file names. All files are stored using the 8.3 name and the longer names are displayed by the OS. You can use the hidden (real) 8.3 filenames by adding a switch to the dir command. You can access the file by it&#039;s 8.3 or long names, it&#039;s still the same file. The filename is just a reference pointer to the place on the disk.

If you do a &quot;dir /x&quot;, then you&#039;ll see both the short (8.3) and long filenames. You need to somehow combine that switch with the &quot;/b&quot; switch, but I don&#039;t see an easy way. Otherwise, you&#039;ll need to use &quot;dir /x&quot; and parse out the filenames from the list of information.</description>
		<content:encoded><![CDATA[<p>I&#8217;m not asking you to change your file names. All files are stored using the 8.3 name and the longer names are displayed by the OS. You can use the hidden (real) 8.3 filenames by adding a switch to the dir command. You can access the file by it&#8217;s 8.3 or long names, it&#8217;s still the same file. The filename is just a reference pointer to the place on the disk.</p>
<p>If you do a &#8220;dir /x&#8221;, then you&#8217;ll see both the short (8.3) and long filenames. You need to somehow combine that switch with the &#8220;/b&#8221; switch, but I don&#8217;t see an easy way. Otherwise, you&#8217;ll need to use &#8220;dir /x&#8221; and parse out the filenames from the list of information.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to write a DOS batch file to loop through files by Supreme Ox</title>
		<link>http://jamesewelch.wordpress.com/2008/05/01/how-to-write-a-dos-batch-file-to-loop-through-files/#comment-9056</link>
		<dc:creator>Supreme Ox</dc:creator>
		<pubDate>Wed, 04 Nov 2009 16:21:15 +0000</pubDate>
		<guid isPermaLink="false">http://jamesewelch.wordpress.com/2008/05/01/how-to-write-a-dos-batch-file-to-loop-through-files/#comment-9056</guid>
		<description>I can&#039;t do that because I code the filename with the date, photo number, and one or two word description. I&#039;d rather stop using the evil characters. (If worse comes to worse I can run a batch rename to replace the ^ with a temporary character, run this batch file, then run another rename to put the ^ back. It&#039;s not like I&#039;m going to do this more than once - I hope!)</description>
		<content:encoded><![CDATA[<p>I can&#8217;t do that because I code the filename with the date, photo number, and one or two word description. I&#8217;d rather stop using the evil characters. (If worse comes to worse I can run a batch rename to replace the ^ with a temporary character, run this batch file, then run another rename to put the ^ back. It&#8217;s not like I&#8217;m going to do this more than once &#8211; I hope!)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to write a DOS batch file to loop through files by Jim</title>
		<link>http://jamesewelch.wordpress.com/2008/05/01/how-to-write-a-dos-batch-file-to-loop-through-files/#comment-9055</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Wed, 04 Nov 2009 15:56:30 +0000</pubDate>
		<guid isPermaLink="false">http://jamesewelch.wordpress.com/2008/05/01/how-to-write-a-dos-batch-file-to-loop-through-files/#comment-9055</guid>
		<description>Can you use the switch on /dir to output DOS 8.3 (shortened) filenames and use those names? I think the 8.3 filenames won&#039;t use special characters (other than the tilde ~).</description>
		<content:encoded><![CDATA[<p>Can you use the switch on /dir to output DOS 8.3 (shortened) filenames and use those names? I think the 8.3 filenames won&#8217;t use special characters (other than the tilde ~).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to write a DOS batch file to loop through files by Supreme Ox</title>
		<link>http://jamesewelch.wordpress.com/2008/05/01/how-to-write-a-dos-batch-file-to-loop-through-files/#comment-9051</link>
		<dc:creator>Supreme Ox</dc:creator>
		<pubDate>Wed, 04 Nov 2009 07:51:24 +0000</pubDate>
		<guid isPermaLink="false">http://jamesewelch.wordpress.com/2008/05/01/how-to-write-a-dos-batch-file-to-loop-through-files/#comment-9051</guid>
		<description>I&#039;m working on a batch file that calls a program to watermark photos. Using the basic: 

for /f &quot;tokens=*&quot; %%a IN (&#039;dir /b *.jpg&#039;) do echo %%a &#124; call runner.bat &quot;%%a&quot;

This works great, until I run into a filename with a &quot;^&quot; in it. With a file called &quot;noah^s art.jpg&quot;, the &quot;runner.bat&quot; file: 

echo %1

&quot;P:\Program Files\ImageMagick-6.5.7-3\composite.exe&quot; -gravity southeast &quot;copyw.bmp&quot; %1 xxx%1

returns:

echo noah^^s art.jpg

Of course, ImageMagick yells at me because there&#039;s no such file as &quot;noah^^s art.jpg&quot;

I have no idea why it&#039;s duplicating the ^ character. Putting an echo in the &quot;doit.bat&quot; file returns the correct &quot;noah^s art.jpg&quot; Other tested special characters: [ ] ( ) - _ all worked ok.

Any ideas? Not only to figure out the ^, but also what other special characters might be affected so I can test everything before running this on 20,000 photos.

Thanks.</description>
		<content:encoded><![CDATA[<p>I&#8217;m working on a batch file that calls a program to watermark photos. Using the basic: </p>
<p>for /f &#8220;tokens=*&#8221; %%a IN (&#8216;dir /b *.jpg&#8217;) do echo %%a | call runner.bat &#8220;%%a&#8221;</p>
<p>This works great, until I run into a filename with a &#8220;^&#8221; in it. With a file called &#8220;noah^s art.jpg&#8221;, the &#8220;runner.bat&#8221; file: </p>
<p>echo %1</p>
<p>&#8220;P:\Program Files\ImageMagick-6.5.7-3\composite.exe&#8221; -gravity southeast &#8220;copyw.bmp&#8221; %1 xxx%1</p>
<p>returns:</p>
<p>echo noah^^s art.jpg</p>
<p>Of course, ImageMagick yells at me because there&#8217;s no such file as &#8220;noah^^s art.jpg&#8221;</p>
<p>I have no idea why it&#8217;s duplicating the ^ character. Putting an echo in the &#8220;doit.bat&#8221; file returns the correct &#8220;noah^s art.jpg&#8221; Other tested special characters: [ ] ( ) &#8211; _ all worked ok.</p>
<p>Any ideas? Not only to figure out the ^, but also what other special characters might be affected so I can test everything before running this on 20,000 photos.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to write a DOS batch file to loop through files by Marc</title>
		<link>http://jamesewelch.wordpress.com/2008/05/01/how-to-write-a-dos-batch-file-to-loop-through-files/#comment-9035</link>
		<dc:creator>Marc</dc:creator>
		<pubDate>Mon, 02 Nov 2009 07:27:08 +0000</pubDate>
		<guid isPermaLink="false">http://jamesewelch.wordpress.com/2008/05/01/how-to-write-a-dos-batch-file-to-loop-through-files/#comment-9035</guid>
		<description>Hi,

I&#039;m trying to accomplish the following scenario:

List all files that match a pattern along with a number, for ex.

1 file_a.txt
2 file_b.txt
3 file_c.txt

and then be able to pick a file by it&#039;s number rather then it&#039;s name.

For this purpose I need to increment a numeric variable inside the loop and I can&#039;t get this to work.

Some help would be greatly appreciated.

------------------------------------------------------------------

@echo off
set cnt=0

for %%f in (*.txt) do (
  set /a cnt+=1
  echo %cnt% %%f
)

set cnt=0
set /p myChoice=&quot;Choose file: &quot;

for %%f in (*.txt) do (
  set /a cnt+=1
  if cnt==%myChoice% echo %%f
  )</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;m trying to accomplish the following scenario:</p>
<p>List all files that match a pattern along with a number, for ex.</p>
<p>1 file_a.txt<br />
2 file_b.txt<br />
3 file_c.txt</p>
<p>and then be able to pick a file by it&#8217;s number rather then it&#8217;s name.</p>
<p>For this purpose I need to increment a numeric variable inside the loop and I can&#8217;t get this to work.</p>
<p>Some help would be greatly appreciated.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>@echo off<br />
set cnt=0</p>
<p>for %%f in (*.txt) do (<br />
  set /a cnt+=1<br />
  echo %cnt% %%f<br />
)</p>
<p>set cnt=0<br />
set /p myChoice=&#8221;Choose file: &#8221;</p>
<p>for %%f in (*.txt) do (<br />
  set /a cnt+=1<br />
  if cnt==%myChoice% echo %%f<br />
  )</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to prevent web.config inheritance in ASP.NET child virtual directories and applications by Pål</title>
		<link>http://jamesewelch.wordpress.com/2008/04/30/how-to-prevent-webconfig-inheritance-in-aspnet-child-virtual-directories-and-applications/#comment-9001</link>
		<dc:creator>Pål</dc:creator>
		<pubDate>Fri, 30 Oct 2009 12:10:57 +0000</pubDate>
		<guid isPermaLink="false">http://jamesewelch.wordpress.com/2008/04/30/how-to-prevent-webconfig-inheritance-in-aspnet-child-virtual-directories-and-applications/#comment-9001</guid>
		<description>Nice one. Needed this to be able to install a third-party .NET app on a server with SharePoint on.</description>
		<content:encoded><![CDATA[<p>Nice one. Needed this to be able to install a third-party .NET app on a server with SharePoint on.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to render a ASP.NET User Control within a Web Service and return the generated HTML by pankaj madhukarrao unhale</title>
		<link>http://jamesewelch.wordpress.com/2008/07/11/how-to-render-a-aspnet-user-control-within-a-web-service-and-return-the-generated-html/#comment-8998</link>
		<dc:creator>pankaj madhukarrao unhale</dc:creator>
		<pubDate>Fri, 30 Oct 2009 06:57:34 +0000</pubDate>
		<guid isPermaLink="false">http://jamesewelch.wordpress.com/?p=206#comment-8998</guid>
		<description>Hi,
   I am getting the foolowing error ----
 error executing child request for handler &#039;system.web.ui.page&#039;.

I am rendering modified view mananger class.
i have user control with asp.net CheckBox.



How to solve this issue of rendering Asp.net server controls using ajax.

&quot;Why Datalist and Repeater controls can not throw error ,when they are the server side controls&quot;</description>
		<content:encoded><![CDATA[<p>Hi,<br />
   I am getting the foolowing error &#8212;-<br />
 error executing child request for handler &#8217;system.web.ui.page&#8217;.</p>
<p>I am rendering modified view mananger class.<br />
i have user control with asp.net CheckBox.</p>
<p>How to solve this issue of rendering Asp.net server controls using ajax.</p>
<p>&#8220;Why Datalist and Repeater controls can not throw error ,when they are the server side controls&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to extract pages from a PDF document by CARLOS</title>
		<link>http://jamesewelch.wordpress.com/2008/11/14/how-to-extract-pages-from-a-pdf-document/#comment-8421</link>
		<dc:creator>CARLOS</dc:creator>
		<pubDate>Fri, 09 Oct 2009 13:00:57 +0000</pubDate>
		<guid isPermaLink="false">http://jamesewelch.wordpress.com/?p=637#comment-8421</guid>
		<description>Great Article, but my PDF don´t copy exactly, there is a simbols and images don´t copy.

why? Decode library´s?

thanks</description>
		<content:encoded><![CDATA[<p>Great Article, but my PDF don´t copy exactly, there is a simbols and images don´t copy.</p>
<p>why? Decode library´s?</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to load a Google SketchUp model into a XNA game by Jim</title>
		<link>http://jamesewelch.wordpress.com/2008/03/07/how-to-load-a-google-sketchup-model-into-a-xna-game/#comment-8374</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Thu, 08 Oct 2009 20:43:50 +0000</pubDate>
		<guid isPermaLink="false">http://jamesewelch.wordpress.com/2008/03/07/how-to-load-a-google-sketchup-model-into-a-xna-game/#comment-8374</guid>
		<description>You should look at the SketchUp documentation. You could also just resize it by setting the model scale in your Visual Studio content project&#039;s item properties.</description>
		<content:encoded><![CDATA[<p>You should look at the SketchUp documentation. You could also just resize it by setting the model scale in your Visual Studio content project&#8217;s item properties.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to load a Google SketchUp model into a XNA game by Foley</title>
		<link>http://jamesewelch.wordpress.com/2008/03/07/how-to-load-a-google-sketchup-model-into-a-xna-game/#comment-8362</link>
		<dc:creator>Foley</dc:creator>
		<pubDate>Thu, 08 Oct 2009 16:28:18 +0000</pubDate>
		<guid isPermaLink="false">http://jamesewelch.wordpress.com/2008/03/07/how-to-load-a-google-sketchup-model-into-a-xna-game/#comment-8362</guid>
		<description>How do I resize a sketchup file?  I have a gun model that&#039;s as big as my tank model.</description>
		<content:encoded><![CDATA[<p>How do I resize a sketchup file?  I have a gun model that&#8217;s as big as my tank model.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Visual Studio macro to add file headers by Jim</title>
		<link>http://jamesewelch.wordpress.com/2008/09/09/visual-studio-macro-to-add-file-headers/#comment-8275</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Tue, 06 Oct 2009 21:11:21 +0000</pubDate>
		<guid isPermaLink="false">http://jamesewelch.wordpress.com/?p=286#comment-8275</guid>
		<description>chandrapal singh,

It sounds like you need to just edit your class template files. These are the templates used when you click &quot;add&quot;-&gt;&quot;class&quot;. These template store the initial values used when the class document is initially created.

There&#039;s lots of resources online that talk about how to edit your default template files. So you should be able to find out the information via Google, etc.</description>
		<content:encoded><![CDATA[<p>chandrapal singh,</p>
<p>It sounds like you need to just edit your class template files. These are the templates used when you click &#8220;add&#8221;-&gt;&#8221;class&#8221;. These template store the initial values used when the class document is initially created.</p>
<p>There&#8217;s lots of resources online that talk about how to edit your default template files. So you should be able to find out the information via Google, etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Visual Studio macro to add file headers by chandrapal singh</title>
		<link>http://jamesewelch.wordpress.com/2008/09/09/visual-studio-macro-to-add-file-headers/#comment-8189</link>
		<dc:creator>chandrapal singh</dc:creator>
		<pubDate>Wed, 30 Sep 2009 08:29:34 +0000</pubDate>
		<guid isPermaLink="false">http://jamesewelch.wordpress.com/?p=286#comment-8189</guid>
		<description>Thanks Jim,

This is very useful.

I am getting some Problem in calling Macro

Problem: I want , when I add a class, then macro should write header and footer. At Present , when I press macro command in toolbar then it write hear and footer.


If you help me on this, that would be great help for me.

Thanks in advance</description>
		<content:encoded><![CDATA[<p>Thanks Jim,</p>
<p>This is very useful.</p>
<p>I am getting some Problem in calling Macro</p>
<p>Problem: I want , when I add a class, then macro should write header and footer. At Present , when I press macro command in toolbar then it write hear and footer.</p>
<p>If you help me on this, that would be great help for me.</p>
<p>Thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to write a DOS batch file to loop through files by matt</title>
		<link>http://jamesewelch.wordpress.com/2008/05/01/how-to-write-a-dos-batch-file-to-loop-through-files/#comment-8154</link>
		<dc:creator>matt</dc:creator>
		<pubDate>Sun, 27 Sep 2009 21:42:55 +0000</pubDate>
		<guid isPermaLink="false">http://jamesewelch.wordpress.com/2008/05/01/how-to-write-a-dos-batch-file-to-loop-through-files/#comment-8154</guid>
		<description>really helpful for automating some repetitive tasks - splitting up the filenames was easy after reading your post!</description>
		<content:encoded><![CDATA[<p>really helpful for automating some repetitive tasks &#8211; splitting up the filenames was easy after reading your post!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
