Windows 3.1 WIN.COM Command Switches

Last reviewed: November 23, 1994
Article ID: Q82731
The information in this article applies to:
  • Microsoft Windows operating system versions 3.1, 3.11

SUMMARY

WIN.COM is the program that starts the Microsoft Windows operating system version 3.1 startup process. WIN.COM also performs the functions below.

  • WIN.COM makes the following preliminary checks to ensure that Windows can be started:

    a. Is the minimum amount memory required to start Windows

          available?.
    
    b. Verifies that Windows is not already running. c. Verifies that the necessary binaries Windows needs to execute

          are available.
    
  • WIN.COM decides whether to start Windows in standard mode or 386 enhanced mode depending on available XMS memory and the processor type. WIN.COM starts 386 enhanced mode if it finds at least 1024KB available XMS memory and is on a 80386 computer; otherwise, WIN.COM starts in standard mode. If the machine has less than about 256K XMS memory, WIN.COM refuses to start Windows at all.
  • If WIN.COM is either forced or decides to start in standard mode, it first executes the task switcher (WSWAP.EXE). This is the terminate-and-stay-resident (TSR) program that allows Windows to switch among MS-DOS applications and Windows while running in standard mode.

The following is a list of WIN.COM switches and their functions:

WIN [/3] [/S] [/B] [/D:[F][S][V][X]]

   /?  Prints this instruction banner.
   /3  Starts Windows in 386 enhanced mode.
   /S  Starts Windows in standard mode.
   /2  Synonym for the /S switch.
   /B  Creates a file, BOOTLOG.TXT, that records system messages.
       generated during system startup (boot).
   /D  Used for troubleshooting when Windows does not start
       correctly.
   :F  Turns off 32-bit disk access. Equivalent to SYSTEM.INI [386enh]
       setting: 32BitDiskAccess=FALSE.
   :S  Specifies that Windows should not use ROM address space between
       F000:0000 and 1 MB for a break point. Equivalent to SYSTEM.INI
       [386enh] setting: SystemROMBreakPoint=FALSE.
   :V  Specifies that the ROM routine handles interrupts from the hard
       drive controller. Equivalent to SYSTEM.INI [386enh] setting:
       VirtualHDIRQ=FALSE.
   :X  Excludes all of the adapter area from the range of memory that
       Windows scans to find unused space. Equivalent to SYSTEM.INI
       [386enh] setting: EMMExclude=A000-FFFF.


KBCategory: kbenv
KBSubcategory: win31 winboot
Additional reference words: 3.10 argument f s v x F S V X fsvx


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 23, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.