TIP: Click on subject to list as thread! ANSI
echo: echolist
to: All
from: address{at}not.available
date: 2019-01-31 19:14:22
subject: Explorer filename sorting - disable ignoring of the hyphen (`-`) char

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" 
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: 
NNTP-Posting-Host: 83.163.119.5
X-Trace: 1459109279 news.xs4all.nl 5870 83.163.119.5:2593
X-Complaints-To: abuse{at}xs4all.nl
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)
SEEN-BY: 19/33 103/705 124/5013 5014 5015 5016 130/803 154/10 203/0 221/0
SEEN-BY: 229/275 426 240/5832 261/38 280/464 5003 292/854 387/21 396/45
SEEN-BY: 423/120 633/0 267 280 281 408 410 412 509 640/1384 712/132 620 848
SEEN-BY: 770/1 2452/250 31999/99
@PATH: 124/5013 5014 396/45 280/464 712/848 633/280 267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.