1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

The way XP sorts files by name...

Discussion in 'Windows XP' started by Puritan, Dec 27, 2001.

Thread Status:
Not open for further replies.
Advertisement
  1. Puritan

    Puritan Thread Starter

    Joined:
    Feb 14, 2001
    Messages:
    242
    This is a really silly little nit, but I was wondering if anyone knew this... in previous versions of Windows, a file that was shorter came alphabetically before any file with the same name with a suffix; MYDOC.doc would come alphabetically before MYDOC2.doc, for example. But in XP, suffixes come before shorter names, so if I was sorting my files by name, I'd see MYDOC2.doc, MYDOC3.doc, MYDOC4.doc, etc. and then after all of that MYDOC.doc. I'm not sure why this is -- I thought it might be because extensions are no longer treated separately from the filename in XP and the period might just come after letters and numbers alphabetically, but that's not the case either, since a period is 0x2E in ASCII and a zero is 0x30.

    Is there any way to get XP to sort file names "properly", i.e. shorter file names before longer ones with suffixes?
     
  2. Brooks

    Brooks Guest

    Joined:
    Oct 30, 2001
    Messages:
    2,323
    I must say, I never noticed that before. If I see or hear of anything on how to change that, I will post that here.

    The annoyance that gets me is that when mapping network drives through the gui, it always presents the last available drive letter instead of the first available.

    So the first time I mapped my server drives to my workstation, I had the servers c: drive on z:, the d: drive on y, and the e drive on x:
     
  3. Dan O

    Dan O

    Joined:
    Feb 13, 1999
    Messages:
    8,974
    I agree XP does some strange things. I could not find anything on the sort order used by Explorer for file names. But intererstly SORT and DIR /O does sort correctly. As like Brooks if I run across anything in the future I will let you know.
     
  4. Puritan

    Puritan Thread Starter

    Joined:
    Feb 14, 2001
    Messages:
    242
    Bump...

    Anyone found a solution for this yet?
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Similar Threads - sorts files name
  1. SilverSurf
    Replies:
    1
    Views:
    316
  2. Bill P
    Replies:
    3
    Views:
    351
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/63135

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice