-
File Name Sorting
Hi All,
I have a drive (lets call it "H") that will have a dynamic list of folders within it. The folders will work off of a date naming convention, example 20071105.
I need to be able to sort the contents of the "H" drive and return the oldest folder using a .vbs script.
For Example:
"H" Drive contents:
20071119
20071105
20070509
20071126
20071203
20070912
20071112
I would like to return the oldest folder name. In this case, 20070509.
Any help would greatly be appreciated. Thank you!
-
Re: File Name Sorting
Please do not post duplicate threads, especially in the wrong forum section.
The original thread (in the VBScript forum) can be found here.