<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Channel 9 Forums - Tech Off - How To Rename Multiple Files</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Forums/rss"></atom:link>
	<image>
		<url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url>
		<title>Channel 9 Forums - Tech Off - How To Rename Multiple Files</title>
		<link>http://channel9.msdn.com/Forums</link>
	</image>
	<description>Channel 9 keeps you up to date with the latest news and behind the scenes info from Microsoft that developers love to keep up with. From LINQ to SilverLight – Watch videos and hear about all the cool technologies coming and the people behind them.</description>
	<link>http://channel9.msdn.com/Forums</link>
	<language>en</language>
	<pubDate>Fri, 24 May 2013 08:44:31 GMT</pubDate>
	<lastBuildDate>Fri, 24 May 2013 08:44:31 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<c9:totalResults>11</c9:totalResults>
	<c9:pageCount>-11</c9:pageCount>
	<c9:pageSize>-1</c9:pageSize>
	<item>
		<title>Tech Off - How To Rename Multiple Files</title>
		<description><![CDATA[<p>I have a bunch of files in a folder and I would like to add a prefix to their names. E.g. there are image files named like dsc0001.jpg dsc0002.jpg etc., and I want to rename them like 20081215dsc0001.jpg 20081215dsc0002.jpg<br />I know an&nbsp;easy way to do this in mc under Linux, but I would like to learn it in Windows, too. Can you help me?</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/259720-How-To-Rename-Multiple-Files/259720#259720</link>
		<pubDate>Sat, 15 Dec 2007 21:45:27 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/259720-How-To-Rename-Multiple-Files/259720#259720</guid>
		<dc:creator>akopacsi</dc:creator>
		<slash:comments>11</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/akopacsi/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - How To Rename Multiple Files</title>
		<description><![CDATA[<p>ren * 20081215*</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/259720-How-To-Rename-Multiple-Files/de6972c292dc4702b0cd9dfa00879ccc#de6972c292dc4702b0cd9dfa00879ccc</link>
		<pubDate>Sat, 15 Dec 2007 22:14:42 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/259720-How-To-Rename-Multiple-Files/de6972c292dc4702b0cd9dfa00879ccc#de6972c292dc4702b0cd9dfa00879ccc</guid>
		<dc:creator>AndyC</dc:creator>
		<slash:comments>11</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/AndyC/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - How To Rename Multiple Files</title>
		<description><![CDATA[<p>Use <a href="http://www.ghisler.com">Total Commander</a>.<br />Inside Total Commander select the files you want to rename (using right mouse or invert selection)<br />Then:<br />File-&gt;Multi-Rename Tool<br /><br />In the Rename mask: file name textbox enter:<br />[YMD]-[hms]-[N]-yourname<br /><br />This way you can combine photos of multiple users.<br />Good luck,<br />Peter</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/259720-How-To-Rename-Multiple-Files/055faf686a9c4c319a8a9dfa00879d3d#055faf686a9c4c319a8a9dfa00879d3d</link>
		<pubDate>Sat, 15 Dec 2007 22:57:16 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/259720-How-To-Rename-Multiple-Files/055faf686a9c4c319a8a9dfa00879d3d#055faf686a9c4c319a8a9dfa00879d3d</guid>
		<dc:creator>PeterF</dc:creator>
		<slash:comments>11</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/PeterF/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - How To Rename Multiple Files</title>
		<description><![CDATA[<p>Windows has built in functionality for stuff like this.<br /><br />Select all the files, rename one to 2005-11-09DSC then windows will rename them all ..DSC(0001) ..DSC(0002) etc.
<br /><br />I think thats what you're looking for.. if not then sorry <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /><br /><br /></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/259720-How-To-Rename-Multiple-Files/0b5e40cda9b24e26a0fc9dfa00879d8a#0b5e40cda9b24e26a0fc9dfa00879d8a</link>
		<pubDate>Sat, 15 Dec 2007 23:41:07 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/259720-How-To-Rename-Multiple-Files/0b5e40cda9b24e26a0fc9dfa00879d8a#0b5e40cda9b24e26a0fc9dfa00879d8a</guid>
		<dc:creator>Lloyd Humphreys</dc:creator>
		<slash:comments>11</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Lloyd_Humph/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - How To Rename Multiple Files</title>
		<description><![CDATA[<p>If you want to use todays date, try making a batch file like this:<br /><br />set d=%date%<br />set ff=%d:~0,4%%d:~5,2%%d:~8,2%<br />for %%i in (dsc*.jpg) do ren %%i %ff%%%i<br />set d=<br />set ff=<br /><br />It will used today's date to construct a string like 20071216 and prepend it to the file name.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/259720-How-To-Rename-Multiple-Files/d2fceae197a34d9cb1bc9dfa00879df4#d2fceae197a34d9cb1bc9dfa00879df4</link>
		<pubDate>Mon, 17 Dec 2007 01:39:53 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/259720-How-To-Rename-Multiple-Files/d2fceae197a34d9cb1bc9dfa00879df4#d2fceae197a34d9cb1bc9dfa00879df4</guid>
		<dc:creator>GravityGuy</dc:creator>
		<slash:comments>11</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/GravityGuy/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - How To Rename Multiple Files</title>
		<description><![CDATA[<p>C:\Users\mateer\Desktop\custom-path&gt;type prepend.bat<br />@echo off<br />for /f &quot;usebackq delims=&quot; %%i in (`dir /b`) do @move &quot;%%i&quot; &quot;%* %%i&quot;</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/259720-How-To-Rename-Multiple-Files/9a5364c7549746089dda9dfa00879e45#9a5364c7549746089dda9dfa00879e45</link>
		<pubDate>Mon, 17 Dec 2007 17:21:21 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/259720-How-To-Rename-Multiple-Files/9a5364c7549746089dda9dfa00879e45#9a5364c7549746089dda9dfa00879e45</guid>
		<dc:creator>Matthew van Eerde</dc:creator>
		<slash:comments>11</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Matthew van Eerde/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - How To Rename Multiple Files</title>
		<description><![CDATA[<p>From the replies above, I'd hazard a guess and suggest that a new version of explorer wouldn't do half-bad if it implemented a nice multiple-file-renaming GUI.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/259720-How-To-Rename-Multiple-Files/7917601006b8459e80679dfa00879eb2#7917601006b8459e80679dfa00879eb2</link>
		<pubDate>Tue, 18 Dec 2007 10:21:34 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/259720-How-To-Rename-Multiple-Files/7917601006b8459e80679dfa00879eb2#7917601006b8459e80679dfa00879eb2</guid>
		<dc:creator>Bas</dc:creator>
		<slash:comments>11</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Bas/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - How To Rename Multiple Files</title>
		<description><![CDATA[<p>System.IO and maybe regulaur expressions. Although I could see how this isnt a suggestion for a non dev. I am sure by being on here you can&nbsp;write a simple console project.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/259720-How-To-Rename-Multiple-Files/b222b6a9cec447f6a2659dfa00879f01#b222b6a9cec447f6a2659dfa00879f01</link>
		<pubDate>Tue, 18 Dec 2007 21:00:45 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/259720-How-To-Rename-Multiple-Files/b222b6a9cec447f6a2659dfa00879f01#b222b6a9cec447f6a2659dfa00879f01</guid>
		<dc:creator>odujosh</dc:creator>
		<slash:comments>11</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/odujosh/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - How To Rename Multiple Files</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">odujosh wrote:</div>
<div class="quoteBody">&#65279;System.IO and maybe regulaur expressions. Although I could see how this isnt a suggestion for a non dev. I am sure by being on here you can right a simple console project.</div>
</blockquote>
<br /><br />Um, that's really over-complicating things. Not only is it a single DOS command, but it's pretty much
<em>the</em> textbook example for &quot;Why DOS globbing is superior to *nix&quot;</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/259720-How-To-Rename-Multiple-Files/fa7b1af093ef4e41ae159dfa00879f52#fa7b1af093ef4e41ae159dfa00879f52</link>
		<pubDate>Tue, 18 Dec 2007 21:07:39 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/259720-How-To-Rename-Multiple-Files/fa7b1af093ef4e41ae159dfa00879f52#fa7b1af093ef4e41ae159dfa00879f52</guid>
		<dc:creator>AndyC</dc:creator>
		<slash:comments>11</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/AndyC/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - How To Rename Multiple Files</title>
		<description><![CDATA[<p>Complicated ? less than 5 lines of code. More control. And I didn't have to use/learn/groke&nbsp;yet another syntax. The code is self explanatory.</p>
<p>&nbsp;</p>
<b><font color="#000096" size="2">
<p>using</b></font><font size="2"> </font><font color="#0080c0" size="2">System</font><font size="2">;</p>
</font><b><font color="#000096" size="2">
<p>using</b></font><font size="2"> </font><font color="#0080c0" size="2">System</font><b><font color="#000096" size="2">.</b></font><font color="#0080c0" size="2">IO</font><font size="2">;</p>
</font><b><font color="#000096" size="2">
<p>namespace</b></font><font size="2"> </font><font color="#0080c0" size="2">FileRenamer</p>
</font><font size="2">
<p>{</p>
<p></font><b><font color="#000096" size="2">class</b></font><font size="2"> </font>
<b><font color="#800000" size="2">Program</p>
</b></font><font size="2">
<p>{</p>
<p></font><b><font color="#000096" size="2">static</b></font><font size="2"> </font>
<b><font color="#000096" size="2">void</b></font><font size="2"> </font><font color="#0080c0" size="2">Main</font><font size="2">(</font><b><font color="#000096" size="2">string</b></font><font size="2">[]
</font><font color="#0080c0" size="2">args</font><font size="2">)</p>
<p>{</p>
<p></font><b><font color="#000096" size="2">string</b></font><font size="2"> </font>
<font color="#0080c0" size="2">location</font><font size="2"> </font><b><font color="#000096" size="2">=</b></font><font size="2">
</font><font color="#a31515" size="2">@&quot;C:\Images\&quot;</font><font size="2">;</p>
<p></font><b><font color="#000096" size="2">string</b></font><font size="2">[] </font>
<font color="#0080c0" size="2">images</font><font size="2"> </font><b><font color="#000096" size="2">=</b></font><font size="2">
</font><b><font color="#800000" size="2">Directory</font><font color="#000096" size="2">.</b></font><font color="#0080c0" size="2">GetFiles</font><font size="2">(</font><font color="#0080c0" size="2">location</font><font size="2">);</p>
<p></font><b><font color="#000096" size="2">foreach</b></font><font size="2"> (</font><b><font color="#000096" size="2">var</b></font><font size="2">
</font><font color="#0080c0" size="2">image</font><font size="2"> </font><b><font color="#000096" size="2">in</b></font><font size="2">
</font><font color="#0080c0" size="2">images</font><font size="2">)</p>
<p>{</p>
<p></font><b><font color="#800000" size="2">FileInfo</b></font><font size="2"> </font>
<font color="#0080c0" size="2">fi</font><font size="2"> </font><b><font color="#000096" size="2">=</b></font><font size="2">
</font><b><font color="#000096" size="2">new</b></font><font size="2"> </font><b><font color="#800000" size="2">FileInfo</b></font><font size="2">(</font><font color="#0080c0" size="2">image</font><font size="2">);</p>
<p></font><b><font color="#000096" size="2">if</b></font><font size="2"> (</font><b><font color="#000096" size="2">!</b></font><font color="#0080c0" size="2">fi</font><b><font color="#000096" size="2">.</b></font><font color="#0080c0" size="2">Extension</font><b><font color="#000096" size="2">.</b></font><font color="#0080c0" size="2">Equals</font><font size="2">(</font><font color="#0000ff" size="2">&quot;.db&quot;</font><font size="2">))</p>
<p>{</p>
<p></font><font color="#0080c0" size="2">fi</font><b><font color="#000096" size="2">.</b></font><font color="#0080c0" size="2">MoveTo</font><font size="2">(</p>
<p></font><font color="#0080c0" size="2">fi</font><b><font color="#000096" size="2">.</b></font><font color="#0080c0" size="2">Directory</font><font size="2">
</font><b><font color="#000096" size="2">&#43;</b></font><font size="2"> </font><font color="#a31515" size="2">@&quot;\&quot;</font><font size="2">
</font><b><font color="#000096" size="2">&#43;</b></font><font size="2"> </font><font color="#2b91af" size="2">DateTime</font><b><font color="#000096" size="2">.</b></font><font color="#0080c0" size="2">Now</font><b><font color="#000096" size="2">.</b></font><font color="#0080c0" size="2">ToShortDateString</font><font size="2">()</font><b><font color="#000096" size="2">.</b></font><font color="#0080c0" size="2">Replace</font><font size="2">(</font><font color="#0000ff" size="2">&quot;/&quot;</font><font size="2">,
</font><font color="#0000ff" size="2">&quot;&quot;</font><font size="2">) </font><b><font color="#000096" size="2">&#43;</b></font><font size="2">
</font><font color="#0080c0" size="2">fi</font><b><font color="#000096" size="2">.</b></font><font color="#0080c0" size="2">Name</font><font size="2">);</p>
<p>}</p>
<p>}</p>
<p>}</p>
<p></p>
<p>}</p>
<p>}<br /><br />To me:<br />set d=%date%<br />set ff=%d:~0,4%%d:~5,2%%d:~8,2%<br />for %%i in (dsc*.jpg) do ren %%i %ff%%%i<br />set d=<br />set ff=<br /><br />Is pretty much garbage.</p>
</font>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/259720-How-To-Rename-Multiple-Files/2b18c50092344d33b43f9dfa00879fb0#2b18c50092344d33b43f9dfa00879fb0</link>
		<pubDate>Tue, 18 Dec 2007 21:22:26 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/259720-How-To-Rename-Multiple-Files/2b18c50092344d33b43f9dfa00879fb0#2b18c50092344d33b43f9dfa00879fb0</guid>
		<dc:creator>odujosh</dc:creator>
		<slash:comments>11</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/odujosh/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - How To Rename Multiple Files</title>
		<description><![CDATA[<p>The problem with the file system and other ways mentioned, is that pictures have meta data which stores the 'date photo taken' - and it is not always the date modified (if you removed redeye or something beforehand).
<br /><br />I had to write a tool which loads the date modified so that I can sort the stuff and do a basic filter (text with a # which inserts the numbers for the selection). I've never seen another tool out there which does it, and it's pretty easy to make. I'd suggest
 going that route if you have a lot of photos and really want the date to be accurate.
<br /></p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/259720-How-To-Rename-Multiple-Files/4a79ca31175b4b0abbf99dfa0087a004#4a79ca31175b4b0abbf99dfa0087a004</link>
		<pubDate>Wed, 19 Dec 2007 06:23:11 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/259720-How-To-Rename-Multiple-Files/4a79ca31175b4b0abbf99dfa0087a004#4a79ca31175b4b0abbf99dfa0087a004</guid>
		<dc:creator>kidzi</dc:creator>
		<slash:comments>11</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/kidzi/Discussions/RSS</wfw:commentRss>
	</item>
</channel>
</rss>