Change folder modified to date as same to the files inside

Leo,

Need your help mate.

As far as having a continuous loop of refreshing the folder dates, because file modified date is updated every time a file is clicked, it seems kinda distant to me.

Reason being I am requesting a script or routine which would be triggered manually, upon user request to perform the desired action. If the script is not called, it is not supposed to keep an automatic check of file timestamps and match the folder timestamps whenever an update is detected.

Still looking for it, is RegEx the answer...??? I dont know a clue about it anyways.

Thanks.