in reply to How do I pick one file from a directory based on the file date?

File *what* date? Creation? Modification? Last Access time? (I'll confess to not recalling which of these the various Windows versions keep)

Whichever applies to you, have a peek at perldoc -f stat and perldoc -f -X on your own system (or try stat and/ or perlfunc:_X on this site.

Other functions you may find useful: grep, readdir.

HTH