Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Obtaining oldest file in a directory
Message
From
17/09/2008 16:05:10
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Obtaining oldest file in a directory
Environment versions
Environment:
C# 3.0
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01348390
Message ID:
01348390
Views:
67
Hi All,

I am looking for the quickest way to get the name of the oldes file of a specific pattern in a given directory. I can loop through the results of Directory.GetFiles() but wondering if there is a more efficient way.
Thanks
Tim
Timothy Bryan
Next
Reply
Map
View

Click here to load this message in the networking platform