wrong sort order in W2k

W

wlc

Hello,


I'm having a problem with the sort order of files.
The system is W2k Server SP4
Google gives lots of results , all for xp but I tried it anyway. The
solution should be to add regkey

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Expl­
orer]
"NoStrCmpLogical"=dword:00000001

or the same in HKCU

It doesn't make any difference. Not with 1 or 0 as value
I did reboot after making changes. No Help.

Currently files are sorted like this:

1.txt / 1002.txt / 231.txt / 79.txt / 989.txt / etc.......

Is there a different solution for W2k?

TIA
wlc
 
G

Gary Smith

wlc said:
Currently files are sorted like this:
1.txt / 1002.txt / 231.txt / 79.txt / 989.txt / etc.......
Is there a different solution for W2k?

So far as I know, that's the only sort order available in Win2K. If you
want filenames to be sorted numerically, you have to make them all the
same length.
 
W

wlc

Gary Smith said:
So far as I know, that's the only sort order available in Win2K. If you
want filenames to be sorted numerically, you have to make them all the
same length.

Thanks for the reply Gary.

Making them all the same lenght does work but that is a problem.
I want the file names (.jpg 's actually) to match Access ID numbers and
Access doesn't do leading zero's with the autonumber-key afaik.
I'll find a way to get around this , I hope :) , if not i'll leave them in
disorder.

Thanks
wlc
 
D

Dave Patrick

No, a string sort is all you get.

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| Hello,
|
|
| I'm having a problem with the sort order of files.
| The system is W2k Server SP4
| Google gives lots of results , all for xp but I tried it anyway. The
| solution should be to add regkey
|
|
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Expl­
| orer]
| "NoStrCmpLogical"=dword:00000001
|
| or the same in HKCU
|
| It doesn't make any difference. Not with 1 or 0 as value
| I did reboot after making changes. No Help.
|
| Currently files are sorted like this:
|
| 1.txt / 1002.txt / 231.txt / 79.txt / 989.txt / etc.......
|
| Is there a different solution for W2k?
|
| TIA
| wlc
|
|
 
A

Anonymous

Hello,


I'm having a problem with the sort order of files.
The system is W2k Server SP4
Currently files are sorted like this:
1.txt / 1002.txt / 231.txt / 79.txt / 989.txt / etc.......


I made 5 txt files and named them exactly like your example and my
Win2K/SP4 sorted them exactly the same way that your did. I'm guessing
that the computer is sorting by the first digit of all filenames
regardless of their length, and then sorting by consecutive digits
according to length.

I don't have a solution for you---but I CAN say that there is nothing
wrong with your computer or you Registry.
 
D

Dave Patrick

It's called a string or textual sort.

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| I made 5 txt files and named them exactly like your example and my
| Win2K/SP4 sorted them exactly the same way that your did. I'm guessing
| that the computer is sorting by the first digit of all filenames
| regardless of their length, and then sorting by consecutive digits
| according to length.
|
| I don't have a solution for you---but I CAN say that there is nothing
| wrong with your computer or you Registry.
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top