File Manager Sort By Type Different from CMD.EXE Sort (102385)



The information in this article applies to:

  • Microsoft Windows NT 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
				

Modification Type:MajorLast Reviewed:11/20/2003
Keywords:kbother KB102385