M has nothing to do with 'oldness' of a file. It has everything to do with last modification time. Which isn't the same as age of a file. As such, -M cannot be used to determine a directory's "oldest file".
That's correct. And that's the reason why I also linked to the other google search which shows how to determine the creation time on windows.
I never said that any of the google hits had the complete solution, I just want to point out that they give you enough material to solve the problem. Effort is still required, though.
In reply to Re^7: File creation and last modifiication time
by moritz
in thread File creation and last modifiication time
by mecrazycoder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |