A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Windows XP Help and Support
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Explorer filename sorting - disable ignoring of the hyphen ("-") char ?



 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old March 27th 16, 09:07 PM posted to microsoft.public.windowsxp.help_and_support
R.Wieser
external usenet poster
 
Posts: 1,302
Default Explorer filename sorting - disable ignoring of the hyphen ("-") char ?

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



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 10:32 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.