[Last Call] Learn how to a build a cloud-first strategyRegister Now


Date Modified for sub folders?

Posted on 2011-10-06
Medium Priority
Last Modified: 2012-06-21
So when you look at the date modified of a top level folder in Windows it will show the last time an object in that folder was modified but not look further into sub folders. I understand this is by design. Is anyone aware of a program or way to modify this so the modified date will reflect any changes made in any of the sub folders as well?

Essentially I just want to be able to look at the top folder and see if ANYTHING contained inside has been modified.
Question by:BIZNETplus
  • 2
LVL 59

Expert Comment

by:Bill Prew
ID: 36927369
Actually, it's not true that the parent folder last change date is updated when an existing file within it is changed.  The folder last changed date only indicates when changes were made to it, not files it contains.  This is most common when files are added or deleted (or subfolders) from the parent folder.

There is no way built in to Windows to have the parent folder always have the last change date of the most recently changed file anywhere in the tree below the parent.

There are techniques where you could write your own script to sort of display a "DIR" like output where the date next to a folder could be found from all the child files, but that would be a custom script with special reporting logic, there's no way to automatically have Windows do that.

LVL 10

Accepted Solution

Arman Khodabande earned 2000 total points
ID: 36946529
Take look at this: http://www.watchdirectory.net/

This is a software that monitors the folder and automates the task.
You can tell the software that run a bat file after a change in a folder detected. (Then put a message in that bat file which reports the change!)
In addition it has a "Run a VBS script" option. You can make a vbs file with the following code to report the change:
WScript.Echo("The Directory has changed!")

Open in new window

I put the vbs as attachment too.

The above software is very nice and complete but is not free and you can use it just 30 days for free.
If you're looking for a free software visit these:

Directory monitor

7 Free Tools

Good luck

Author Closing Comment

ID: 36946536
Yes yes this looks very promising, Thank you!
LVL 10

Expert Comment

by:Arman Khodabande
ID: 36949184
You're welcome!

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will be converting StringData saved within a text file into a hash table. This can be further used in a PowerShell script for replacing settings that are dynamic in nature from environment to environment.
Windows Server 2003 introduced persistent Volume Shadow Copies and made 2003 a must-do upgrade.  Since then, it's been a must-implement feature for all servers doing any kind of file sharing.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question