<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Set Archive Bit Based On Creation Date in WSH</title>
	<link>http://www.nilpo.com/2007/08/windows-xp/set-archive-bit-based-on-creation-date-in-wsh/</link>
	<description>Ask the Windows Guru!</description>
	<pubDate>Tue, 06 Jan 2009 21:55:16 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: Nilpo</title>
		<link>http://www.nilpo.com/2007/08/windows-xp/set-archive-bit-based-on-creation-date-in-wsh/#comment-15</link>
		<dc:creator>Nilpo</dc:creator>
		<pubDate>Sun, 05 Aug 2007 17:19:32 +0000</pubDate>
		<guid>http://www.nilpo.com/2007/08/windows-xp/set-archive-bit-based-on-creation-date-in-wsh/#comment-15</guid>
		<description>@ Tony: Thank you very much.  I'll keep posting as long as readers keep sending questions! :)

@ Shadow Wizard: Would you like to see archive bits on folders as well?  I tend to avoid using them because I feel as though I'm forced to assume that the folder contents are all set as well....and if I don't want to assume, I check, and that defeats the purpose of using an archive bit on a folder anyway.  It also seems to me that most backup routines rely on the file level bits anyway.  What's your take?</description>
		<content:encoded><![CDATA[<p>@ Tony: Thank you very much.  I&#8217;ll keep posting as long as readers keep sending questions! <img src='http://www.nilpo.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>@ Shadow Wizard: Would you like to see archive bits on folders as well?  I tend to avoid using them because I feel as though I&#8217;m forced to assume that the folder contents are all set as well&#8230;.and if I don&#8217;t want to assume, I check, and that defeats the purpose of using an archive bit on a folder anyway.  It also seems to me that most backup routines rely on the file level bits anyway.  What&#8217;s your take?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony</title>
		<link>http://www.nilpo.com/2007/08/windows-xp/set-archive-bit-based-on-creation-date-in-wsh/#comment-14</link>
		<dc:creator>Tony</dc:creator>
		<pubDate>Sun, 05 Aug 2007 17:11:25 +0000</pubDate>
		<guid>http://www.nilpo.com/2007/08/windows-xp/set-archive-bit-based-on-creation-date-in-wsh/#comment-14</guid>
		<description>Fantastic entry, Nilpo. Thank you.

The code is efficient and the way you approached the situation is rather amazing. 
 
Keep up posting proactively and all the best.

Regards,
Tony</description>
		<content:encoded><![CDATA[<p>Fantastic entry, Nilpo. Thank you.</p>
<p>The code is efficient and the way you approached the situation is rather amazing. </p>
<p>Keep up posting proactively and all the best.</p>
<p>Regards,<br />
Tony</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nilpo</title>
		<link>http://www.nilpo.com/2007/08/windows-xp/set-archive-bit-based-on-creation-date-in-wsh/#comment-13</link>
		<dc:creator>Nilpo</dc:creator>
		<pubDate>Sun, 05 Aug 2007 14:16:39 +0000</pubDate>
		<guid>http://www.nilpo.com/2007/08/windows-xp/set-archive-bit-based-on-creation-date-in-wsh/#comment-13</guid>
		<description>Thanks for the comments, Shadow.

Let me take your suggestions in order.  First, I didn't feel it necessary to include a message when the code completes, because it isn't actually intended to run as a stand-alone script.  It's designed to be incorporated into a full backup scheme.  In that case, no notification would be necessary.

As for your second, suggestion, the original code sample for this post actually does contain recursion.  I left it out of this sample for sake of brevity.  However, I'll do a follow up post to show how this can be included so stayed tuned for my next blog!</description>
		<content:encoded><![CDATA[<p>Thanks for the comments, Shadow.</p>
<p>Let me take your suggestions in order.  First, I didn&#8217;t feel it necessary to include a message when the code completes, because it isn&#8217;t actually intended to run as a stand-alone script.  It&#8217;s designed to be incorporated into a full backup scheme.  In that case, no notification would be necessary.</p>
<p>As for your second, suggestion, the original code sample for this post actually does contain recursion.  I left it out of this sample for sake of brevity.  However, I&#8217;ll do a follow up post to show how this can be included so stayed tuned for my next blog!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shadow Wizard</title>
		<link>http://www.nilpo.com/2007/08/windows-xp/set-archive-bit-based-on-creation-date-in-wsh/#comment-12</link>
		<dc:creator>Shadow Wizard</dc:creator>
		<pubDate>Sun, 05 Aug 2007 14:10:50 +0000</pubDate>
		<guid>http://www.nilpo.com/2007/08/windows-xp/set-archive-bit-based-on-creation-date-in-wsh/#comment-12</guid>
		<description>Excellent article - rather simple code, and very useful.

Two suggestions though: add some sort of message when the code finish successfully, and also what about recursive code that will set archive bit on all files in folder plus all files in all sub folders? this can be pretty cool addition to the code. :)</description>
		<content:encoded><![CDATA[<p>Excellent article - rather simple code, and very useful.</p>
<p>Two suggestions though: add some sort of message when the code finish successfully, and also what about recursive code that will set archive bit on all files in folder plus all files in all sub folders? this can be pretty cool addition to the code. <img src='http://www.nilpo.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nilpo</title>
		<link>http://www.nilpo.com/2007/08/windows-xp/set-archive-bit-based-on-creation-date-in-wsh/#comment-11</link>
		<dc:creator>Nilpo</dc:creator>
		<pubDate>Sun, 05 Aug 2007 13:35:57 +0000</pubDate>
		<guid>http://www.nilpo.com/2007/08/windows-xp/set-archive-bit-based-on-creation-date-in-wsh/#comment-11</guid>
		<description>After posting this article, I realized one other problem spot that you may wish to check for errors.  If you are running this on a large directory, or perhaps a shared one, you may want to include an IF statement that checks to make sure that a file still exists before calling the SetArchiveBit subroutine.  This would prevent errors if a file were to be moved or deleted AFTER being added to the File collection but BEFORE being processed by the subroutine.</description>
		<content:encoded><![CDATA[<p>After posting this article, I realized one other problem spot that you may wish to check for errors.  If you are running this on a large directory, or perhaps a shared one, you may want to include an IF statement that checks to make sure that a file still exists before calling the SetArchiveBit subroutine.  This would prevent errors if a file were to be moved or deleted AFTER being added to the File collection but BEFORE being processed by the subroutine.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
