View Single Post
  #17  
Old September 21st 18, 11:04 AM posted to alt.comp.os.windows-10
Frank Slootweg
external usenet poster
 
Posts: 1,226
Default Why when I select pictures 1 to 10, does Paint.NET order them capriciously?

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


As 'Arlen Holder' likes to use Linux, he might want to try 'ls -U' to
list the entries in directory order.

$ man ls
....
-U do not sort; list entries in directory order
....
$
Ads