Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1402
  • Last Modified:

oldest file in the directory

How can I find the oldest file in the directory using batch commands?
0
vhegde1
Asked:
vhegde1
1 Solution
 
Dufo G. BelskiRetired bureaucrat/desktop supportCommented:
Hi vhegde1,

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

Cheers!
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now