GetOldestFile


 

GetOldestFile>filespec,result

 

Returns the oldest file matching the given filespec.

 

See also: GetNewestFile

 

Example:

 

//gets the oldest file in the My Documents folder

GetOldestFile>%USERDOCUMENTS_DIR%\*.*,oldFile

 

//gets the oldest text file in c:\folder

GetOldestFile>c:\folder\*.txt,oldFile