KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
My directory contains files in this format: AA_20100806.dat AA_20100807.dat AA_20100808.dat AA_20100809.dat AA_20100810.dat AA_20100811.dat AA_20100812.dat The filename includes a timestamp. i.e. [RANGE]_[YYYYMMDD].dat I need to find out which file has the newest date using the timestamp on the filename not the system timestamp and store the filename in a variable and move it to another directory and move the rest to a different directory.
Tags (comma-separated)
Save Edits
Cancel