Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Most recent file in folder...

Status
Not open for further replies.

LiquidBinary

Programmer
Jul 27, 2001
148
0
0
US
Can someone paste some code that will allow me to find the most recent file in a directory? i.e. The one file with the most recent creation time. I would like to do this with the raw API and not MFC. I know there are some API calls that can accomplish this, but you all know how big the win32 API is. Please write it in C/C++. mlg400@blazemail.com
 
All u need is to get all the files from your dir and the choose the one u need...if u need help please let me know...

________
George, M
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top