Title: ChangeFolderTimeAttributes
Description: This code allows for the changing of the acces; modified; and created time stamps for folders.
There were several examples for modifying the time stamps of individual files, but i could not find anything for folders. (My hard drive had crashed a couple of weeks back and when i restored all of my vb code samples, they all had the same time stamp, which made it difficult to navigate since i have 350+ folders). With this code, you select a folder and it displays the files within it. You can then select one of the files in the folder and apply its time stamp to the folder. Thus folders containing code from 2001 will now have a created time of 2001 which is how i like to sort my vb code snippets. Alternatively, you can enter a new time and date directly. I utilized code from this site, mostly from a feature in the Kira utilities submitted by the Lung, for an idea on how to change file times. I then went to Microsofts site for more info on the SetFileTime API.
This file came from Planet-Source-Code.com...the home millions of lines of source code
You can view comments on this code/and or vote on it at: http://www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=57174&lngWId=1

The author may have retained certain copyrights to this code...please observe their request and the law by reviewing all copyright conditions at the above URL.
