R
RichardOnRails
Guest
Hi All,
Using Windows Explorer on WinXP/SP2, I created a bunch of
subdirectories in, say, C:\Temp\Topics, in the following order:
Original topics entered in the sequence shown
===============================
1First
2Second
3Third
4Fourth
21Second1
ZZZ
YYY
These names represent topics to be presented in a seminar.
"21Second1" represents an after-thought that is intended to follow
topic "2Second" after the Topics directory is sorted. The last two
were added just help analyze the anomaly I encounter when I click the
"Name" caption in Explorer twice, namely, that "21Second1" remains
behind "4Fourth". (Everything else looks fine to me)
Topics displayed in the sequence shown after clicking Name caption
twice
==================================================
1First
2Second
3Third
4Fourth
21Second1
YYY
ZZZ
I tested this in a Command Window with the DIR command and got::
Topics displayed in the sequence shown by the DIR command
==================================================
1First
21Second1
2Second
3Third
4Fourth
YYY
ZZZ
That seems exactly right to me, because the ASCII codes for digits are
smaller numbers than the codes for letters. (Once I understand what
Explorer is doing, I'll adopt conventions that work the way I wish.)
I thought the problem was that Explorer was sorting on "time created"
rather than name. That is refuted by the creation times of YYY and
ZZZ: 11:39 and 11:29 respectively.
FINAL TEST: I added a zero to "2Second" and got this:
Explorer
======
1First
3Third
4Fourth
20Second
21Second1
YYY
ZZZ
Command Window
=============
1First
20Second
21Second1
3Third
4Fourth
YYY
ZZZ
Could it be that Explorer parses initial digits from name and treats
them as number, where Command Window treats folder names as ASCII
strings, period?
Any insights?
--
Richard
Using Windows Explorer on WinXP/SP2, I created a bunch of
subdirectories in, say, C:\Temp\Topics, in the following order:
Original topics entered in the sequence shown
===============================
1First
2Second
3Third
4Fourth
21Second1
ZZZ
YYY
These names represent topics to be presented in a seminar.
"21Second1" represents an after-thought that is intended to follow
topic "2Second" after the Topics directory is sorted. The last two
were added just help analyze the anomaly I encounter when I click the
"Name" caption in Explorer twice, namely, that "21Second1" remains
behind "4Fourth". (Everything else looks fine to me)
Topics displayed in the sequence shown after clicking Name caption
twice
==================================================
1First
2Second
3Third
4Fourth
21Second1
YYY
ZZZ
I tested this in a Command Window with the DIR command and got::
Topics displayed in the sequence shown by the DIR command
==================================================
1First
21Second1
2Second
3Third
4Fourth
YYY
ZZZ
That seems exactly right to me, because the ASCII codes for digits are
smaller numbers than the codes for letters. (Once I understand what
Explorer is doing, I'll adopt conventions that work the way I wish.)
I thought the problem was that Explorer was sorting on "time created"
rather than name. That is refuted by the creation times of YYY and
ZZZ: 11:39 and 11:29 respectively.
FINAL TEST: I added a zero to "2Second" and got this:
Explorer
======
1First
3Third
4Fourth
20Second
21Second1
YYY
ZZZ
Command Window
=============
1First
20Second
21Second1
3Third
4Fourth
YYY
ZZZ
Could it be that Explorer parses initial digits from name and treats
them as number, where Command Window treats folder names as ASCII
strings, period?
Any insights?
--
Richard