How Windows 3.11 Saved File Manager Settings

In Microsoft Windows 3.11, user preferences for the File Manager (WINFILE.EXE) layout were maintained through a dedicated initialization file rather than a centralized registry. Windows 3.x relied heavily on decentralized .INI configuration files for system and application states. For File Manager, these interface layouts, directory window coordinates, split-pane ratios, and viewing preferences were stored directly in an ASCII text file named WINFILE.INI, located in the primary Windows installation directory (typically C:\WINDOWS).

The Role of WINFILE.INI

Unlike modern Windows versions that write interface states to the Windows Registry, Windows 3.11 wrote application states to individual initialization files. When a user altered their viewing environment in File Manager, the program read from and wrote to WINFILE.INI.

This file followed the standard Windows initialization format, organizing configuration keys into bracketed sections such as [Settings]. Because it was stored as standard ASCII text, power users and system administrators could modify layouts manually using text editors like Notepad or EDIT.COM in MS-DOS.

Layout Preferences and Parameters

The WINFILE.INI file captured multiple dimensions of the File Manager workspace to restore the exact visual state upon the next launch:

  • Split-Pane Positioning: File Manager allowed users to divide directory windows into a directory tree on the left and file contents on the right. The horizontal position of this split bar was recorded so child windows opened with the designated width ratio.
  • Child Window Coordinates: File Manager utilized a Multiple Document Interface (MDI). The positions, sizes, and states (minimized, maximized, or restored) of individual directory windows were saved as numeric coordinates within the file.
  • Display and View Modes: Preferences regarding whether to display the tree only, the directory only, or both simultaneously were preserved. It also logged whether the file list showed full details (size, date, time, file attributes) or partial details.
  • Sort Orders: The file recorded sorting criteria, such as sorting files alphabetically by name, by file extension/type, by size, or by last modification date.
  • Font Settings: Visual attributes such as font face, point size, and whether to display filenames in lowercase or bold were recorded under font keys in the [Settings] section.

Saving the Layout

Saving these preferences depended on the "Save Settings on Exit" option located in the File Manager's "Options" menu:

  1. Automatic Save on Exit: If "Save Settings on Exit" was checked, File Manager updated WINFILE.INI with the current workspace dimensions, open directory paths, and layout preferences whenever the user closed the application. This state corresponded to the SaveSettings=1 entry in the INI file.
  2. Static Configurations: If this option was disabled (SaveSettings=0), the layout remained frozen according to whatever configuration was previously written, ignoring any window rearranging or pane adjustments made during that session.
  3. Manual Save Shortcut: Users could also force File Manager to write its current layout to WINFILE.INI without exiting by holding the Shift key while clicking "Exit" from the File menu.