oldest file in the directory

How can I find the oldest file in the directory using batch commands?
vhegde1Asked:
Who is Participating?
 
Dufo G. BelskiRetired bureaucrat/desktop supportCommented:
Hi vhegde1,

dir /O:D will list files in date order, oldest first.

Cheers!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.