DIR sorting?

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
#1
Below is TCC's output of "DIR /On /B" in Windows\Installer (it's a bit crazy). Below that is CMD's output (seems sane). FWIW, Explorer does it crazily and differently from TCC.

TCC:

Code:
1fa7319b.msi
2b2c8ac.msi
2dd07c.msi
3b3af2.msi
3b3b1c.msi
3b3b07.msi
3b3b9a.msi
3b3b44.msi
3b3b85.msi
3b3baf.msi
3b3bee.msi
3b3c2b.msi
3b3c5b.msi
3b3c5c.msp
3b3c8a.msi
3b3c8b.msp
3b3c15.msi
3b3c16.msp
3b3c40.msi
3b3c72.msi
3b3c73.msp
3b3ca2.msi
3b3ca3.msp
3b3cb9.msi
3b3cba.msp
3b3ccf.msi
3b3ce6.msi
3b3ce7.msp
3b3cfd.msi
3b3cfe.msp
6ce0f9a.msi
6ce0f43.msi
6ce0f72.msi
6ce0f86.msi
6ce0fae.msi
6ce0fc4.msi
6ce10ab.msi
6ce10bf.msi
6ce10d3.msi
6ce10e7.msi
6ce10fb.msi
6ce1052.msi
6ce1083.msi
6ce1097.msi
6ce1110.msi
6ce1124.msi
6e12468.msi
6f85c31.msp
6f85c32.msp
6f85c57.msp
6f85c73.msp
6f85ca8.msp
6f85ccb.msi
6f85d02.msi
6f8571c.msi
6f85730.msi
6f85744.msi
6f85759.msp
6f85772.msp
8f8a6.msi
8f8bb.msi
8f8d0.msi
8f8e5.msi
8f8fa.msi
8f9b3.msi
8f9ca.msp
8f9ef.msp
8f87c.msi
8f90f.msi
8f93a.msi
8f94f.msi
8f867.msi
8f891.msi
8f924.msi
8f964.msi
8f979.msi
8fa2b.msp
8fa9a.msp
8fa14.msp
8fa50.msp
8fa75.msp
8fab1.msp
8fad7.msp
8fafc.msp
8fb3b.msp
8fb13.msp
21ec7b7f.msi
46d6855.msi
81dfb7c.msi
81dfb91.msi
198a177.msi
253fc6c7.msi
376d4d.msi
376d8c.msi
376d38.msi
376d77.msi
400d0b.msp
400d0c.msp
400d2c.msi
400d6f.msi
400db0.msi
400e05.msi
400e5e.msi
400f18.msi
4009bd.msp
4009be.msp
4011ca.msi
4011ea.msp
27175ecb.msi
40110f.msi
40112e.msi
57848e.msi
64828d.msi
238160ea.msi
400987.msi
401188.msi
c23d2a2.msi
c23d2b6.msi
c23d28d.msi
c2390bd.msi
c2390d1.msi
e3a13.msp
e39d1.msp
e39e7.msp
e39fc.msp
MSI8C71.tmp
MSIB317.tmp
{0C19D563-5F25-4621-BF10-01F741BD283F}
{2E98C5B7-D64C-4D7E-BFC3-A7D078569F28}
{3A9FC03D-C685-4831-94CF-4EDFD3749497}
{3A762A82-618D-3CAA-B847-D074ABFA0B2E}
{3BE9F6C4-7CCA-494D-A4D5-A10DDBCFB462}
{4F44B5AE-82A6-4A8A-A3E3-E24D489728E3}
{7A56D81D-6406-40E7-9184-8AC1769C4D69}
{9A9C11FA-AE85-3B48-86BE-5FA83D0384B3}
{9A33B83D-FFC4-44CF-BEEF-632DECEF2FCD}
{09C52940-A4D1-4409-A7CC-1AAE630CF578}
{26A24AE4-039D-4CA4-87B4-2F83216026FF}
{29EF7553-72C1-488F-860C-37D04200C039}
{33AE9E89-47C9-4A0D-9E9D-BDD6966A3804}
{64c5b887-b5ee-42b8-8596-78905a6b5f1f}
{77F1F8AD-51B8-4490-AEEC-BF480073E0FC}
{112C23F2-C036-4D40-BED4-0CB47BF5555C}
{241F2BF7-69EB-42A4-9156-96B2426C7504}
{842FAF7C-50EF-4463-9B8F-6222E1384D7D}
{877B76B2-F83F-4F5A-B28D-3F398641ADB6}
{928D2FB1-291A-362B-89A4-7075A9D904A4}
{4640FDE1-B83A-4376-84ED-86F86BEE2D41}
{326957C7-83FD-4550-A59A-849B7B4297DE}
{90120000-006E-0409-0000-0000000FF1CE}
{90120000-0021-0000-0000-0000000FF1CE}
{90140000-003D-0000-0000-0000000FF1CE}
{90140000-006E-0409-0000-0000000FF1CE}
{A4305E96-A849-47BB-9C18-F4823DCFE8A6}
{AC76BA86-1033-F400-BA7E-000000000004}
{ACE28263-76A4-4BF5-B6F4-8BD719595969}
{B6EC7388-E277-4A5B-8C8F-71067A41BA64}
{B268E9A1-04A9-40D0-9866-846BE2B74BA7}
{B857D868-F8B0-43EE-BC2B-D9E5ED21F237}
{BAF9E4D0-F3D1-4355-B973-1384CDF1941C}
{BC537AE0-88AF-47ED-B762-33B0D62B5188}
{C01DFB51-B2EF-4886-B98C-CEE22809EFDD}
{C617EC41-9E21-3915-AA7E-F156B74F7D07}
{C965F01C-76EA-4BD7-973E-46236AE312D7}
{C688457E-03FD-4941-923B-A27F4D42A7DD}
{CAA376AF-0DE8-4FCA-942E-C6AC579B94B3}
{D6B15AE6-B052-363E-B6BB-C4714CBA6509}
{D7DAD1E4-45F4-3B2B-899A-EA728167EC4F}
{D441BD04-E548-4F8E-97A4-1B66135BAAA8}
{EEBB6407-37A1-42AA-9087-97CF81923DFE}
CMD:

Code:
{09C52940-A4D1-4409-A7CC-1AAE630CF578}
{0C19D563-5F25-4621-BF10-01F741BD283F}
{112C23F2-C036-4D40-BED4-0CB47BF5555C}
{241F2BF7-69EB-42A4-9156-96B2426C7504}
{26A24AE4-039D-4CA4-87B4-2F83216026FF}
{29EF7553-72C1-488F-860C-37D04200C039}
{2E98C5B7-D64C-4D7E-BFC3-A7D078569F28}
{326957C7-83FD-4550-A59A-849B7B4297DE}
{33AE9E89-47C9-4A0D-9E9D-BDD6966A3804}
{3A762A82-618D-3CAA-B847-D074ABFA0B2E}
{3A9FC03D-C685-4831-94CF-4EDFD3749497}
{3BE9F6C4-7CCA-494D-A4D5-A10DDBCFB462}
{4640FDE1-B83A-4376-84ED-86F86BEE2D41}
{4F44B5AE-82A6-4A8A-A3E3-E24D489728E3}
{64c5b887-b5ee-42b8-8596-78905a6b5f1f}
{77F1F8AD-51B8-4490-AEEC-BF480073E0FC}
{7A56D81D-6406-40E7-9184-8AC1769C4D69}
{842FAF7C-50EF-4463-9B8F-6222E1384D7D}
{877B76B2-F83F-4F5A-B28D-3F398641ADB6}
{90120000-0021-0000-0000-0000000FF1CE}
{90120000-006E-0409-0000-0000000FF1CE}
{90140000-003D-0000-0000-0000000FF1CE}
{90140000-006E-0409-0000-0000000FF1CE}
{928D2FB1-291A-362B-89A4-7075A9D904A4}
{9A33B83D-FFC4-44CF-BEEF-632DECEF2FCD}
{9A9C11FA-AE85-3B48-86BE-5FA83D0384B3}
{A4305E96-A849-47BB-9C18-F4823DCFE8A6}
{AC76BA86-1033-F400-BA7E-000000000004}
{ACE28263-76A4-4BF5-B6F4-8BD719595969}
{B268E9A1-04A9-40D0-9866-846BE2B74BA7}
{B6EC7388-E277-4A5B-8C8F-71067A41BA64}
{B857D868-F8B0-43EE-BC2B-D9E5ED21F237}
{BAF9E4D0-F3D1-4355-B973-1384CDF1941C}
{BC537AE0-88AF-47ED-B762-33B0D62B5188}
{C01DFB51-B2EF-4886-B98C-CEE22809EFDD}
{C617EC41-9E21-3915-AA7E-F156B74F7D07}
{C688457E-03FD-4941-923B-A27F4D42A7DD}
{C965F01C-76EA-4BD7-973E-46236AE312D7}
{CAA376AF-0DE8-4FCA-942E-C6AC579B94B3}
{D441BD04-E548-4F8E-97A4-1B66135BAAA8}
{D6B15AE6-B052-363E-B6BB-C4714CBA6509}
{D7DAD1E4-45F4-3B2B-899A-EA728167EC4F}
{EEBB6407-37A1-42AA-9087-97CF81923DFE}
198a177.msi
1fa7319b.msi
21ec7b7f.msi
238160ea.msi
253fc6c7.msi
27175ecb.msi
2b2c8ac.msi
2dd07c.msi
376d38.msi
376d4d.msi
376d77.msi
376d8c.msi
3b3af2.msi
3b3b07.msi
3b3b1c.msi
3b3b44.msi
3b3b85.msi
3b3b9a.msi
3b3baf.msi
3b3bee.msi
3b3c15.msi
3b3c16.msp
3b3c2b.msi
3b3c40.msi
3b3c5b.msi
3b3c5c.msp
3b3c72.msi
3b3c73.msp
3b3c8a.msi
3b3c8b.msp
3b3ca2.msi
3b3ca3.msp
3b3cb9.msi
3b3cba.msp
3b3ccf.msi
3b3ce6.msi
3b3ce7.msp
3b3cfd.msi
3b3cfe.msp
400987.msi
4009bd.msp
4009be.msp
400d0b.msp
400d0c.msp
400d2c.msi
400d6f.msi
400db0.msi
400e05.msi
400e5e.msi
400f18.msi
40110f.msi
40112e.msi
401188.msi
4011ca.msi
4011ea.msp
46d6855.msi
57848e.msi
64828d.msi
6ce0f43.msi
6ce0f72.msi
6ce0f86.msi
6ce0f9a.msi
6ce0fae.msi
6ce0fc4.msi
6ce1052.msi
6ce1083.msi
6ce1097.msi
6ce10ab.msi
6ce10bf.msi
6ce10d3.msi
6ce10e7.msi
6ce10fb.msi
6ce1110.msi
6ce1124.msi
6e12468.msi
6f8571c.msi
6f85730.msi
6f85744.msi
6f85759.msp
6f85772.msp
6f85c31.msp
6f85c32.msp
6f85c57.msp
6f85c73.msp
6f85ca8.msp
6f85ccb.msi
6f85d02.msi
81dfb7c.msi
81dfb91.msi
8f867.msi
8f87c.msi
8f891.msi
8f8a6.msi
8f8bb.msi
8f8d0.msi
8f8e5.msi
8f8fa.msi
8f90f.msi
8f924.msi
8f93a.msi
8f94f.msi
8f964.msi
8f979.msi
8f9b3.msi
8f9ca.msp
8f9ef.msp
8fa14.msp
8fa2b.msp
8fa50.msp
8fa75.msp
8fa9a.msp
8fab1.msp
8fad7.msp
8fafc.msp
8fb13.msp
8fb3b.msp
c2390bd.msi
c2390d1.msi
c23d28d.msi
c23d2a2.msi
c23d2b6.msi
e39d1.msp
e39e7.msp
e39fc.msp
e3a13.msp
MSI8C71.tmp
MSIB317.tmp
 
Jan 19, 2011
559
7
Norman, OK
#2
In the \Windows\Installer directory, it displays the same problem without the /B switch too. Tried in my download directory with 700+ files and it works fine.
 
#5
If you want asciibetical sorting, use /OA instead of of /ON.

(Not-really-serious feature suggestion: a variant of /ON which recognizes and sorts using hex values, rather than decimal.)
Thanks. I was not suggesting it should be the same as CMD ... I don't care about that. I just wanted to know what was going on.
 
#6
You might be surprised to know I added that to my timedir program; I had a bunch of hex filenames to sort. Timedir /o:xx does it. I also doubt there is much call for it in tcc! -- Sent from my HP TouchPadOn Sep 9, 2011 11:28, Charles Dye <> wrote: If you want asciibetical sorting, use /OA instead of of /ON.

(Not-really-serious feature suggestion: a variant of /ON which recognizes and sorts using hex values, rather than decimal.)