Sorting Folders Based on Modified Content (again)

I'm seeking a solution to update a folder's modification time based on the most recently modified file inside it. Currently, Windows only updates folder times on file additions or deletions, not on file modifications. This makes sorting less logical, as folders with recent file changes remain at the back.

I found an old post discussing this issue, but back then, there was no perfect solution. With Windows 10 and Directory Opus 13, is there now a way to achieve this?

Thanks!

You can use a script like this

to modify the folders' metadata or sort by columns like these

2 Likes

Hi, @lxp. Thanks for the solutions.

The first script "Restoring modified timestamps on Dropbox folders"

I tried dragging it to the toolbar, selecting a folder, and clicking the script, but nothing happened. I couldn't get it to work.

The second script "Newest file column"

I installed and tested it. It adds a 'Newest Date' column, but it only works for folders. My requirement is to mix folders and files together in the arrangement.

It would be great if it could include the 'modified time' of files in the 'Newest file column'.

I've updated the script to (optionally) do that.

1 Like