Contents of the Open and Save As Dialog Boxes Sorted Incorrectly (233526)



The information in this article applies to:

  • Microsoft Windows 98
  • Microsoft Windows 95

This article was previously published under Q233526
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry

SYMPTOMS

When you use the Open command or the Save As command in one of the following utilities in Windows 98, the items in the Open or Save As dialog boxes may be sorted incorrectly:
  • Notepad
  • Browse window
  • Paint
  • WordPad
For example, files may be listed before folders, items may be sorted in descending order, and so on.

CAUSE

This behavior can occur if the ShellState value in the registry has been changed or is incorrect.

RESOLUTION

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.
To resolve this issue, set the ShellState value in the registry to the default value. To do so, use Registry Editor to view the following registry key:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer

If needed, edit the "ShellState" value to match the following value:

1C 00 00 00 A7 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 0A 00 00 00

NOTE: This value has been wrapped for readability purposes, it must be typed as one line. Also, you do not have to restart your computer for these changes to take effect.

Modification Type:MinorLast Reviewed:12/20/2004
Keywords:kbenv kbprb kbui KB233526