Using FileSystemObject, I obtain the folder.
Then I can access all file in this folder using:
But the result is in random order. How can I sort the file based on Created Date using objFile.DateCreated property?Code:For each objFile in objFolder.Files Response.Write objFile.Name & "<br>" Next
Thanks.




Reply With Quote