Add new parameter for sort ..
I mean return by file size(size),creation time(ctime),last modification time(mtime),last access time(atime) ..
//echo 1 $findfile($mircdir,*.*,0,echo $1-, size/ctime/mtime/atime) ..
And for $finddir same .. But without last access time(atime) and modification time(mtime) ..
Why not just use $findfile then sort them yourself?
mIRC had to queue the search results, and then sort 'em... and if some pervert out there wants to know the 385th biggest file on his computer with 20000 diffrent files... that would take a long long long long time
You know how ? It must be a realy big script ..
He he
The sort-function can be only a option ..
A question .. Now mirc show the files randome ? Or is some criterion .. ?
It gives you the files in the order that Windows returns when mIRC says "give me the list of files"
in other words: in returns them in the order they are on your HD fisically
Not at all. Files are not contained on the harddrive. Sections of files are. A file that is 200MB doesn't occupy a 200MB continuous piece on your harddrive, it may occupy 400 500KB pieces scattered on the harddrive.
Unless you just used defragment, codemastr's right >:D
Heh speaking of which, I should probably do that one day... you have any idea how fragmented a 6year old 10GB harddrive can become?
make sure u disconnect your network connection-something that fragile you don't want interrupted. >:D
okay: it returns them in the order the first sections of each file are on the HD ;-]