Microsoft KB Archive/102385

From BetaArchive Wiki
Knowledge Base


File Manager Sort By Type Different from CMD.EXE Sort

Article ID: 102385

Article Last Modified on 10/31/2006



APPLIES TO

  • Microsoft Windows NT Advanced Server 3.1
  • Microsoft Windows NT Workstation 3.1
  • Microsoft Windows NT Advanced Server 3.1



This article was previously published under Q102385

SUMMARY

The Windows NT File Manager Sort By Type option behaves differently from DIR /O:E in CMD.EXE. Windows NT File Manager sorts the list by extension first, then it sorts the part of the filename BEFORE the extension by name. CMD.EXE sorts the list by extension and then sorts the WHOLE filename by name. The two methods can achieve different orders, as their sorts on the following sample list shows:

   File Manager      CMD.EXE
   -----------------------------

   a.1               a.1
   a.doc             a.1.doc
   a.1.doc           a.doc
   a.txt.doc         a.txt.doc
   a.txt             a.txt
   a.1.txt           a.doc.txt
   a.doc.txt         a.1.txt
                


Additional query words: prodnt

Keywords: kbother KB102385