Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.electronics.design > #372051
| From | upsidedown@downunder.com |
|---|---|
| Newsgroups | sci.electronics.design |
| Subject | Re: OT: Sort directory *entries* |
| Message-ID | <7l7bsalu47mphp1clmfknb7geghrun5end@4ax.com> (permalink) |
| References | (2 earlier) <mq2n8l$iai$1@speranza.aioe.org> <279ddad6-1af6-4c37-b1f9-9be637c9d51b@googlegroups.com> <77a5c3a6-b694-4733-b85f-a3a77b63bd1d@googlegroups.com> <pan.2015.08.08.02.11.01.647000@nowhere.invalid> <mq3ukd$qj5$1@gonzo.alcatraz> |
| Date | 2015-08-08 09:23 +0300 |
| Organization | Elisa Customer |
On 8 Aug 2015 03:55:57 GMT, Jasen Betts <jasen@xnet.co.nz> wrote: >On 2015-08-08, Nobody <nobody@nowhere.invalid> wrote: > >> If readdir() (or equivalent) always returns the filenames in a specific >> order, that's the "native" order, i.e. the order in which programs which >> traverse a directory will process the files. > >no order is specified in the readdir documentation. Try DIR /O-N The default is DIR /ON i.e. sort by name) and the "-" reverses that selection. Even on NTFS, the files are listed in more or less random order, _not_ sorted by name, extension, creation time, size as I can see. So that might be the "natural" order. To be certain, you would have to open the actual directory file in a hex editor and look for file names in UTF-16 (or is it UCS2), for Latin scripts, every other byte is null.
Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
OT: Sort directory *entries* Don Y <this@is.not.me.com> - 2015-08-07 00:38 -0700
Re: OT: Sort directory *entries* David Brown <david.brown@hesbynett.no> - 2015-08-07 10:06 +0200
Re: OT: Sort directory *entries* DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-08-07 05:29 -0400
Re: OT: Sort directory *entries* Don Y <this@is.not.me.com> - 2015-08-07 09:44 -0700
Re: OT: Sort directory *entries* makolber@yahoo.com - 2015-08-07 10:36 -0700
Re: OT: Sort directory *entries* Don Y <this@is.not.me.com> - 2015-08-07 10:59 -0700
Re: OT: Sort directory *entries* makolber@yahoo.com - 2015-08-07 13:07 -0700
Re: OT: Sort directory *entries* Don Y <this@is.not.me.com> - 2015-08-07 13:43 -0700
Re: OT: Sort directory *entries* M Philbrook <jamie_ka1lpa@charter.net> - 2015-08-07 18:43 -0400
Re: OT: Sort directory *entries* David Brown <david.brown@hesbynett.no> - 2015-08-08 22:21 +0200
Re: OT: Sort directory *entries* upsidedown@downunder.com - 2015-08-09 00:36 +0300
Re: OT: Sort directory *entries* Don Y <this@is.not.me.com> - 2015-08-08 14:45 -0700
Re: OT: Sort directory *entries* jurb6006@gmail.com - 2015-08-15 20:36 -0700
Re: OT: Sort directory *entries* Robert Baer <robertbaer@localnet.com> - 2015-08-07 22:12 -0700
Re: OT: Sort directory *entries* Don Y <this@is.not.me.com> - 2015-08-07 22:39 -0700
Re: OT: Sort directory *entries* David Brown <david.brown@hesbynett.no> - 2015-08-09 13:10 +0200
Re: OT: Sort directory *entries* DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-08-08 02:59 -0400
Re: OT: Sort directory *entries* whit3rd <whit3rd@gmail.com> - 2015-08-07 13:44 -0700
Re: OT: Sort directory *entries* Nobody <nobody@nowhere.invalid> - 2015-08-08 03:11 +0100
Re: OT: Sort directory *entries* Jasen Betts <jasen@xnet.co.nz> - 2015-08-08 03:55 +0000
Re: OT: Sort directory *entries* upsidedown@downunder.com - 2015-08-08 09:23 +0300
Re: OT: Sort directory *entries* Robert Baer <robertbaer@localnet.com> - 2015-08-07 22:11 -0700
Re: OT: Sort directory *entries* David Brown <david.brown@hesbynett.no> - 2015-08-08 22:28 +0200
Re: OT: Sort directory *entries* Don Y <this@is.not.me.com> - 2015-08-08 14:33 -0700
Re: OT: Sort directory *entries* Jasen Betts <jasen@xnet.co.nz> - 2015-08-09 04:15 +0000
Re: OT: Sort directory *entries* David Brown <david.brown@hesbynett.no> - 2015-08-09 13:21 +0200
Re: OT: Sort directory *entries* Robert Baer <robertbaer@localnet.com> - 2015-08-07 22:04 -0700
Re: OT: Sort directory *entries* DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-08-08 02:58 -0400
Re: OT: Sort directory *entries* Dimitrij Klingbeil <nospam@no-address.com> - 2015-08-15 21:38 +0200
Re: OT: Sort directory *entries* Rob <nomail@example.com> - 2015-08-15 20:12 +0000
csiph-web