Paul wrote:
Wolf K wrote:
On 2018-09-18 22:15, Arlen Holder wrote:
[...]
But when Paint.NET comes up, they're in a seemingly capricious order.
ant008, ant005, ant003, ant006, ant009, ant004, ant002, and007, and001
http://www.bild.me/bild.php?file=731...mbertest04.jpg
[...]
Possibly ordering by date created/modified. See waht you get when you
use command line DIR.
There's some source here, for a simple program to list a directory.
Perhaps you could compile up a copy and test it out, and see whether
FindNextFile is random about things ?
https://docs.microsoft.com/en-us/win...in-a-directory
Listing the Files in a Directory - FindFirstFile, FindNextFile
That code doesn't look recursive, in a quick glance, and
indicates in its output whether an item was a FILE
or a DIR.
There are a couple of compilers that come to mind. There
is the MinGW (32 bit) package, which isn't a pain in the ass
to use. There is Visual Studio, but that'll cause hair loss
by the time you get an EXE out of it :-)
Paul
I had a chance to compile up the FindNextFile example, and
while the order of things returned didn't have an order to it,
the order returned each time is the same.
baker
able
cat
On a second invocation
baker
able
cat
So that doesn't hint at that kind of directory
routine being random in what it does.
Paul