Subj : Explorer filename sorting - disable ignoring of the hyphen ("-") char
To   : All
From : [email protected]
Date : Thu Jan 31 2019 07:14 pm

Path:
eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!f
eeder.erje.net!2.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl
!nzpost1.xs4all.net!not-for-mail
From: "R.Wieser" <[email protected]>
Newsgroups: microsoft.public.windowsxp.help_and_support
Subject: Explorer filename sorting - disable ignoring of the hyphen ("-") char
?
Date: Sun, 27 Mar 2016 22:07:56 +0200
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Lines: 50
Message-ID: <[email protected]>
NNTP-Posting-Host: 83.163.119.5
X-Trace: 1459109279 news.xs4all.nl 5870 83.163.119.5:2593
X-Complaints-To: [email protected]
Xref: mx02.eternal-september.org
microsoft.public.windowsxp.help_and_support:31826

Hello All,

My previous subject "Explorer filename sorting problem - NoStrCmpLogical
already present" has evolved into a much simpler one: How do I get XP's
explorer (but the "dir" command too!) to stop ignoring the minus sign inside
filenames

60.00.00.32.dds
60.00.00.32.msh
60.00.00.32.nif
60.00.32.32.dds
60.00.-32.32.dds
60.00.32.32.msh
60.00.-32.32.msh
60.00.32.32.nif
60.00.-32.32.nif

the reason why the above is "sorted" as it is -- with the third column
showing an interleaved "33" and "-32" -- is because the minus sign is
regarded as a hyphen (a word-coupling character) and ignored.  The above
list than translates to:

60.00.00.32.dds
60.00.00.32.msh
60.00.00.32.nif
60.00.32.32.dds
60.00.32.32.dds
60.00.32.32.msh
60.00.32.32.msh
60.00.32.32.nif
60.00.32.32.nif

.... which makes (some sort of) sense.

But as those "-" characters inthge first list are *NOT* hypens (but
minus-signs) that second list isn't reflecting the meaning of the filenames
contents. :-(

tl;dr:
How do I get XP's explorer (and "dir" command too) to stop ignoring the
minus sign inside filenames.

Or more in general: How do I stop it from treating *any* character
specially, and just sort all of them on their binary value.

Regards,
Rudy Wieser


--- Platinum Xpress/Win/WINServer v3.1
* Origin: Prison Board BBS Mesquite Tx  //telnet.RDFIG.NET www. (1:124/5013)