FOR WINDOWS:
I need to change the TOP FOLDER timestamp to reflect the latest file or the latest sub-folder added. Note, I do not want to change the sub-folder's timestamp properties in which no newer files are added. So, only the sub-folder and TOP Folder need to have timestamp attributes changed matching to the NEWEST most file (or sub-folder) allowing for empty folder and zero-byte file (e.g. '.').
If this can be scripted PREFERENTIALLY in WSH, VB, Powershell or Ms-DOS (python, PERL, etc..)batch file so that I can run it in a Task Scheduler to automate the process (at the end of the day, say 8pm).
I have seen similar questions for *NUX but no conclusive answer for *NUX or Windows (and Mac). This must be a real challenge. Since I have very little knwoledge in Widows APIs (or for that matter in programming of any kind), I need SuperUser crowd help. Thanks, Thanks...
Suggestion: using MD5 hashes to compare filetime stamp (does it make sense?)
for example see: http://msdn.microsoft.com/en-us/library/ms724205%28v=vs.85%29 http://msdn.microsoft.com/en-us/library/ms724284%28VS.85%29.aspx