How to get files based on lastest date

September 28, 2010 at 00:13:56
Specs: Windows XP
Hi,

Example:

AAA_20100909.csv
BBB_20100909.csv
AAA_20100910.csv
BBB_20100910.csv

How to write a batch script which is able to grab the files based on the lastest date. In the examples above, I just want to grab the files named AAA_20100910.csv and BBB_20100910.csv, anyone can assist?

Many Thanks :)


See More: How to get files based on lastest date

Report •

#1
September 28, 2010 at 01:26:56
Type AAA_20100910.csv BBB_20100910 will grab the files and display them on-screen. Not much use doing that, perhaps you'd like to explain what you want to do with the file content.



Report •
Related Solutions


Ask Question