How to Start Windows 3.11 from MS-DOS

In the era of early personal computing, Microsoft Windows 3.11 did not function as a standalone operating system, but rather as a graphical operating environment that ran on top of MS-DOS. Consequently, computers typically booted directly into the DOS command line, requiring users to launch the graphical user interface manually. This article explains the primary command used to start Windows 3.11, how the startup process functioned, and the optional switches available to modify how the environment loaded.

The Command to Start Windows 3.11

The command line instruction used to start Microsoft Windows 3.11 from the MS-DOS prompt is:

win

To execute this, a user simply typed win (or WIN, as DOS is not case-sensitive) at the command prompt (such as C:\>) and pressed the Enter key.

How the Command Worked

When win was entered, MS-DOS executed an executable file named WIN.COM, located in the C:\WINDOWS directory. This program initialized the system components, loaded the appropriate device drivers, transitioned the processor into the required operating mode, and launched the graphical user interface, typically presenting the Program Manager.

For this command to work directly from the root directory (C:\>), the Windows installation directory had to be included in the system's PATH environment variable. If the directory was not in the PATH, users had to navigate to the folder first by typing:

cd \windows
win

Alternatively, users could call the executable using its full path:

C:\windows\win

Automating the Startup

Users who preferred to bypass the MS-DOS command prompt upon powering on their computer automated the process by editing their AUTOEXEC.BAT file. By placing the win command on the final line of the AUTOEXEC.BAT script, the computer would automatically boot directly into Windows 3.11 whenever it was turned on or restarted.

Common Startup Switches

Windows 3.11 also supported optional command-line switches appended to the win command to troubleshoot hardware conflicts or bypass certain startup routines:

  • win /n: Starts Windows without loading networking support (useful for troubleshooting network driver conflicts in Windows for Workgroups 3.11).
  • win /b: Creates a boot log file named BOOTLOG.TXT in the Windows directory, recording system initialization events to help diagnose startup errors.
  • win :: Starts Windows without displaying the introductory splash screen, slightly reducing boot time.