>thanks but you suggested gives information on a specific file.
>
>i am trying to find a non-specified program file in a directory that shows the latest change
>the (number) sort i have been experimenting with asort(ladir,4) give the following
>1= alpha
>2= size
>3 = earliest date
>4 = earliest time
>
> i cannot seem to sort in way that would dispay latest file first.
>
>fso = CREATEOBJECT("Scripting.FileSystemObject")
>lnNum =adir(ladir,'c:\db\prg\menu\*.prg')
>asort(ladir,4)
>? ladir
>
>k
Check for now this
Re: Sorting files by date and time Thread #
1422390 Message #
1422397
If it's not broken, fix it until it is.
My Blog