<?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: Attach Date/Time Stamp To A File - Can Be Used For Automated Backups</title>
	<atom:link href="http://www.batchfile.org/attach-datetime-stamp-to-a-file-can-be-used-for-automated-backups/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.batchfile.org/attach-datetime-stamp-to-a-file-can-be-used-for-automated-backups/</link>
	<description>Everything You Need To Know About Batch Files</description>
	<pubDate>Mon, 06 Feb 2012 12:05:27 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Pavel Ahanouski</title>
		<link>http://www.batchfile.org/attach-datetime-stamp-to-a-file-can-be-used-for-automated-backups/comment-page-1/#comment-5</link>
		<dc:creator>Pavel Ahanouski</dc:creator>
		<pubDate>Fri, 04 Sep 2009 20:10:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.batchfile.org/?p=69#comment-5</guid>
		<description>I have a bat that can help u try this

set mm= %Date:~3,2%
set dd = %Date:~0,2%
set yy = %Date:~8,2%

ren
C:\Name.txt C:\Name_%mm%dd%yy%.txt</description>
		<content:encoded><![CDATA[<p>I have a bat that can help u try this</p>
<p>set mm= %Date:~3,2%<br />
set dd = %Date:~0,2%<br />
set yy = %Date:~8,2%</p>
<p>ren<br />
C:\Name.txt C:\Name_%mm%dd%yy%.txt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.batchfile.org/attach-datetime-stamp-to-a-file-can-be-used-for-automated-backups/comment-page-1/#comment-4</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Fri, 04 Sep 2009 20:07:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.batchfile.org/?p=69#comment-4</guid>
		<description>Another version of the same thing:

:: Set the date to the format you desire once and store it as a variable
Set TDate=%date:~10,4%%date:~4,2%%date:~7,2%

::Start a Loop which goes to a subroutine through a 'call' function (This allow you to assign variables..
FOR %%V IN (%1) DO Call :DoLoop

::Start your complex processing inside this lable so that you can do as many lines as you line inside your loop
:DoLoop

:: Set Single-sided variable to double-sided variable
set OFullFileName=%%V</description>
		<content:encoded><![CDATA[<p>Another version of the same thing:</p>
<p>:: Set the date to the format you desire once and store it as a variable<br />
Set TDate=%date:~10,4%%date:~4,2%%date:~7,2%</p>
<p>::Start a Loop which goes to a subroutine through a &#8216;call&#8217; function (This allow you to assign variables..<br />
FOR %%V IN (%1) DO Call :DoLoop</p>
<p>::Start your complex processing inside this lable so that you can do as many lines as you line inside your loop<br />
:DoLoop</p>
<p>:: Set Single-sided variable to double-sided variable<br />
set OFullFileName=%%V</p>
]]></content:encoded>
	</item>
</channel>
</rss>

