You are currently offline, waiting for your internet to reconnect

Windows 3.1 Resource Kit WIN.INI Section Settings

This article was previously published under Q83433
SUMMARY
The information contained in this article is contained in the WININI.WRIfile in the Microsoft Windows Resource Kit for the Microsoft Windowsoperating system version 3.1. The WININI.WRI file may be viewed within theWindows Write utility in the Windows Accessories Group.

The WININI.WRI file contains specific information about the entries.
MORE INFORMATION
WIN.INI File Settings---------------------Windows initialization files contain information that defines yourWindows environment. Windows and Windows applications can use theinformation stored in these files to configure themselves to meet yourneeds and preferences.There are two standard Windows initialization files:1. WIN.INI, which primarily contains settings that you can use to   customize your Windows environment according to your preferences.2. SYSTEM.INI, which primarily contains settings that you can use to   customize Windows to meet your system's hardware needs.Caution: Changing settings can lead to undesirable results when yourun Windows. Before changing any setting, read "Changing Settings"later in this document.Format of the WIN.INI File--------------------------The WIN.INI file contains several sections, each of which consists ofa group of related settings. The sections and settings are listed inthe WIN.INI file in the following format:  [section name]  keyname=valueIn this example, [section name] is the name of a section. Theenclosing brackets ([]) are required, and the left bracket must be inthe leftmost column on the screen.The keyname=value statement defines the value of each setting. Akeyname is the name of a setting. It can consist of any combination ofletters and digits, and must be followed immediately by an equal sign(=). The value can be an integer, a string, or a quoted string,depending on the setting.You can include comments in initialization files. You must begin eachline of  a comment with a semicolon (;).Sections in the WIN.INI File----------------------------The sections described in the list below most often appear in theWIN.INI file. Your WIN.INI file might not have all of these sections,or it might have additional sections, depending on your system'shardware and software requirements and configuration. For example, ifyou install a printer or set up applications, additional sections andsettings might be inserted by your applications or the software thatcontrols your printer. Refer to your application's documentation forinformation on those sections and settings.The following sections appear in WIN.INI and in this document in thefollowing order (however, the order of these sections is notimportant):Section         Does-------         ----[windows]       Affects several elements of your Windows environment.[desktop]       Controls the appearance of the screen background                (desktop) and the positioning of windows and icons.[extensions]    Associates specified types of files with corresponding                applications.[intl]          Describes how to display items for different countries                and languages.[ports]         Lists all available output ports.[fonts]         Lists the font files that are loaded by Windows.[FontSubstitutes]                Lists the fonts that Windows uses in place of                other fonts, only if the other fonts are not installed on                your system.[TrueType]      Describes options for using and displaying TrueType                fonts.[mci extensions]                Associates specified types of files with Media                Control Interface devices.[network]       Describes network settings and previous network                connections.[embedding]     Lists the server objects used in OLE.[Windows Help]  Lists settings used to specify the default size,                placement, and text colors of the Help window and dialog                boxes.[sounds]        Lists sound files assigned to system and application                events.[PrinterPorts]  Lists installed printers that Windows can access.[devices]       Lists installed printers that provide compatibility with                Windows versions 2.x.[programs]      Lists additional paths that Windows will search to find a                program file when you try to open an associated data                file.[colors]        Defines colors for parts of the Windows display.Updating WIN.INI from Previous Versions of Windows--------------------------------------------------If you update your system to Windows version 3.1 from Windows version3.0, Setup automatically updates your WIN.INI file by making thefollowing changes:In the [windows] section, Setup adds three new settings:KeyboardDelay=ScreenSaverTimeout=DosPrint=If the following settings are already present in the 3.0 version ofthe WIN.INI file, Setup will not change them. If they are not present,Setup will add them:Device=Documents=Programs=com exe bat pifIn the [extensions] section, Setup adds one new setting:bmp=pbrush.exe ^.bmpSetup adds two new settings, if they are not already present in the3.0 version of the WIN.INI file:pcx=pbrush.exe ^.pcxrec=recorder.exe ^.recIn the [ports] section, Setup adds:LPT1.DOSLPT2.DOSSetup adds three additional settings, if they are not already presentin the 3.0 version of WIN.INI:FILE:COM3:=9600,n,8,1,xCOM4:=9600,n,8,1,xSetup adds the following section and settings to support TrueTypefonts:[FontSubstitutes]Helv=MS Sans SerifTms Rmn=MS SerifTimes=Times New RomanHelvetica=ArialSetup adds the following sections and settings to support multimedia:[mci extensions]wav=waveaudiomid=sequencerrmi=sequencerSetup adds the following sections and settings to support sound:[sounds]SystemDefault=ding.wav, Default BeepSystemExclamation=chord.wav, ExclamationSystemStart=tada.wav, Windows StartSystemExit=chimes.wav, Windows ExitSystemHand=chord.wav, Critical StopSystemQuestion=chord.wav, QuestionSystemAsterisk=chord.wav, AsteriskSetup adds the following section and settings to support OLE:[embedding]SoundRec=Sound,Sound,SoundRec.exe,picturePackage=Package,Package,packager.exe,picturePBrush=Paintbrush Picture,Paintbrush Picture,pbrush.exe,pictureSetup also makes additional changed, depending on the applications anddevices installed on your system.How to Read this Document-------------------------In this document, WIN.INI settings are listed alphabetically withinsections. However, the settings do not appear alphabetically in theWIN.INI file. If you want to change a setting, you will have to searchfor it within the appropriate section.This document lists the syntax, purpose, and recommended method forchanging each setting using the following format:SettingName=<value-type>Default:        This is Windows' built-in value for this setting.Purpose:        This paragraph briefly describes the function of thesetting                and its default value (if applicable).To change:      This sentence states the recommended method for changing                the value of this setting.The <value-type> indicates whether the value should be a number, aletter, a range of numbers, or something else.Changing Settings-----------------When the Setup program created the WIN.INI, file it assigned defaultvalues to the settings. Some settings that are listed in thisdocument, may not appear in your WIN.INI file. These settings have thedefault value. You might want to change one or more of these values tochange the appearance or performance of Windows to suit your needs.<B>Caution</B>:  Always back up your WIN.INI file before you make changes so that you can restore the original file in cause you accidentally damagethe WIN.INI file or make changes that cause problems when runningWindows.There are two ways to change WIN.INI settings:By using Control Panel to change most settings. This is the safestand most recommended way because there is no need to open theWIN.INI file, where it is easier to make mistakes. For moreinformation on Control Panel, see Chapter 5, "Control Panel," in theWindows User's Guide.By using a text editor, such as Notepad, to edit the WIN.INI filedirectly. (Don't use a formatting editor; it can corrupt yourWIN.INI file.) This is the method you must use to change thesettings that cannot be changed with Control Panel. After you haveedited the WIN.INI file, you must restart Windows for the settingsto take affect. For more information on how to use Notepad, seeChapter 12, "Additional Accessories," in the Windows User's Guide.Caution:  Be extra careful when using a text editor to edit theWIN.INI file. Incorrect changes to WIN.INI can cause unexpectedresults when you run Windows. In addition, some editors can damagecertain characters  (those with ANSI values of greater than 127). Itis recommended that you use Notepad to change the settings that cannotbe changed with Control Panel. The listings in this document indicatewhich settings you can change with Control Panel.[windows] Section Settings--------------------------The [windows] section contains settings that affect the followingparts of your Windows environment:  Applications that start when you start Windows  Warning beep  Printing  Window border width  Keyboard speed  Mouse settings  Definition of files as documents or programsThe [windows] section can contain the following settings:Beep=<yes-or-no>Default:        YesPurpose:        If this setting is enabled, Windows sounds a warning                beep when you  attempt to do something that is not                allowed.To change:      Choose the Sound icon from the Control Panel window.BorderWidth=<number>Default:        3Purpose:        Sets the width of the borders around all the windows on                your desktop except those that have a fixed size. The                allowed range is 1 (narrowest) to 49 (widest).To change:      Choose the Desktop icon from the Control Panel window.CoolSwitch=<0-or-1>Default:        1Purpose:        Turns fast task switching on or off. A value of 1 turns                this feature on. A value of 0 turns it off.To change:      Choose the Desktop icon in the Control Panel window and                select or clear the Fast "Alt+TAB" Switching check box.____________________________________________________________CursorBlinkRate=<milliseconds>Default:        530Purpose:        Indicates how many milliseconds elapse between each blinkof                the selection cursor.To change:      Choose the Desktop icon from the Control Panel window._____________________________________________________________Device=<output-device-name>, <device-driver>, <port-connection>Default:        NonePurpose:        Defines the default printer. The <output-device-name> value                can be any device name given in the [devices] section. An                explicit port and driver must be assigned to the device.The                <device-driver> value is the filename (without theextension)                of the device-driver file. The <port-connection> value isany                portname given in the [ports] section.To change:      Choose the Printers icon from the Control Panel window or                the Printer Setup command from the Print Manager Options                menu._____________________________________________________________DefaultQueueSize=<number>Default:        8Purpose:        Specifies the number of messages an application's message                queue can hold.To change:      Use Notepad to edit the WIN.INI file. (You should never                need to change this setting.)____________________________________________________________DeviceNotSelectedTimeout=<seconds>Default:        15Purpose:        Specifies the default number of seconds for Windows to wait                for a device to be switched on. A value is saved for each                printer listed in the [PrinterPorts] section. If the device                is not turned on during this time, Windows won't print tothe                device. Note that for some devices, Windows immediately                displays an error message if the device is not alreadyturned                on.To change:      Use Notepad to edit the WIN.INI file. This setting serves                only as the system default value. To change the value for a                particular printer, choose the Printers icon from theControl                Panel window or the Printer Setup command from the Print                Manager Options menu. This changes the corresponding value                only in the [PrinterPorts] section.____________________________________________________________Documents=<extensions>Default:        NonePurpose:        Defines files that are considered "documents" by Windows                File Manager. The listings in the [extensions] section also                determine which files File Manager recognizes as document                files, and associates them with a particular application.The                extensions listed here are not associated with any                application. Use this setting to define only document file                extensions that are not in the [extensions] section.Separate                extension names with a space, and do not include the                preceding periods.To change:      Use Notepad to edit the WIN.INI file.____________________________________________________________DosPrint=<yes-or-no>Default:        NoPurpose:        Specifies whether Windows should use MS-DOS interrupts                when printing. When this setting is yes, MS-DOS interrupts                are used. When this setting is no, printing output is sent                directly to the port that the printer is assigned to.To change:      Choose the Printers icon from the Control Panel window or                the Printer Setup command from the Print Manager Options                menu, and then clear the Fast Printing Direct to Port check                box in the Connect dialog box.____________________________________________________________DoubleClickHeight=<pixels>Default:        4Purpose:        Specifies the height (in pixels) that the mouse pointer can                move between clicks in a double-click. If the mouse pointer                is moved further up or down,  the two clicks will betreated                as separate single clicks. For example, if                DoubleClickHeight=10, the mouse pointer cannot move                vertically more than 5 pixels between clicks for the two                clicks to be recognized as a double-click. If you enter an                odd number, it is rounded up to the nearest even number.To change:      Use Notepad to edit the WIN.INI file.____________________________________________________________DoubleClickSpeed=<milliseconds>Default:        452Purpose:        Establishes the maximum amount of time between clicks of                the mouse button that the system will permit for one double-                click. The lower the value, the less time you have to click                twice in order to effect a double-click.To change:      Choose the Mouse icon from the Control Panel window.____________________________________________________________DoubleClickWidth=<pixels>Default:        4Purpose:        Specifies the width (in pixels) that the mouse pointer can                move between clicks in a double-click. If the mouse pointer                is moved further right or left, the two clicks will be                treated as separate single clicks. For example, if                DoubleClickWIDTH=10, the mouse pointer cannot move                horizontally more than 5 pixels between clicks for the two                clicks to be recognized as a double-click. If you enter an                odd number, it is rounded up to the nearest even number.To change:      Use Notepad to edit the WIN.INI file.____________________________________________________________KeyboardDelay=<milliseconds>Default:        2Purpose:        Establishes how much time elapses after you hold down a key                before the key starts to repeat.To change:      Choose the Keyboard icon from the Control Panel window.____________________________________________________________KeyboardSpeed=<milliseconds>Default:        31Purpose:        Establishes how much time elapses between repetitions of a                character on the display when you hold down a keyboard key.                This setting does not  work for all keyboards. If youdelete                this setting from WIN.INI, Windows Setup will not set this                speed, but the speed will still be set if you choose the                Keyboard icon in Control Panel (even if you cancel out of                it).To change:      Choose the Keyboard icon from the Control Panel window.____________________________________________________________Load=<filename(s)>Default:        nonePurpose:        Specifies one or more applications that will run as icons                when Windows is started. This value is a list of one ormore                program filenames for applications, or documents that are                associated with an application, each separated by a space.                Make sure you specify the complete path if the applicationor                document is not located in the Windows directory.To change:      Add the application to the Startup group in Program                Manager and then, select the Minimize on Use check box inthe                Properties dialog box.____________________________________________________________MenuDropAlignment=<0-or-1>Default:        0Purpose:        Specifies whether menus open so that they are right aligned                or left aligned with the menu title. If this setting is 0,                menus open so that they are left aligned. If it is 1, menus                open so that they are right aligned.To change:      Use Notepad to edit the WIN.INI file.____________________________________________________________MenuShowDelay=<milliseconds>Default:        0 for 386 computers; 400 for 286 computersPurpose:        Specifies how long to wait before displaying a cascading                menu.To change:      Use Notepad to edit the WIN.INI file.____________________________________________________________MouseSpeed=<0-or-1-or-2>Default:        1Purpose:        Establishes the relationship between mouse movement and                cursor movement when the value of either MouseThreshold1 or                MouseThreshold2 is exceeded. When this occurs, Windowscauses                cursor movement to accelerate according to the value of                MouseSpeed. If it is 0,  there is no acceleration. If it is                1, the cursor is moved twice the normal speed when mouse                movement exceeds the value of MouseThreshold1. If  it is 2,                the cursor is moved twice the normal speed when mouse                movement exceeds the value of MouseThreshold1 or four times                the normal speed if mouse movement exceeds MouseThreshold2.To change:      Choose the Mouse icon from the Control Panel window.____________________________________________________________MouseThreshold1=<pixels>Default:        5Purpose:        Establishes the maximum number of pixels that the mouse can                move between mouse interrupts before Windows alters the                relationship between mouse movement and cursor movement. If                the mouse movement exceeds this threshold and MouseSpeed is                greater than zero, Windows moves the cursor at twice the                normal speed.To change:      Choose the Mouse icon from the Control Panel window.____________________________________________________________MouseThreshold2=<pixels>Default:        10Purpose:        Establishes the maximum number of pixels that the mouse can                move between mouse interrupts before Windows alters the                relationship between mouse movement and cursor movement. If                the mouse movement exceeds this threshold and MouseSpeed is                equal to 2, Windows moves the cursor at four times thenormal                speed.To change:      Choose the Mouse icon from the Control Panel window.____________________________________________________________MouseTrails=<number>Default:        NonePurpose:        Specifies the number of pointers shown on the screen whenthe                MouseTrails option is selected. You can specify a number                between 1 and 7. Note: This setting is supported only ifyou                are using an EGA, VGA or SuperVGA display driver.To change:      Choose the Mouse icon from the Control Panel window or,                if the Mouse dialog box in Control Panel does not include                the MouseTrails option, use Notepad to edit the WIN.INIfile.____________________________________________________________NetWarn=<0-or-1>Default:        1Purpose:        Specifies whether Windows should display a warning messageif                your system is configured to run a network and the networkis                not running or the wrong network is running. All Windows                network-related options will be disabled if the network is                disabled or incorrect. Setting this value to 0 will disable                the warning message.To change:      Choose the Network icon from the Control Panel window.____________________________________________________________NullPort=<string>Default:        "None"Purpose:        Specifies the name used for a null port. This name appearsin                the Printers-Connect dialog box when a device is installed                (that is, the device driver is present) but is notconnected                to any port. This value also appears for such a device inthe                [devices] section of  WIN.INI.To change:      Use Notepad to edit the WIN.INI file.____________________________________________________________Programs=<extensions>Default:        com exe bat pifPurpose:        Defines which files Windows regards as applications.                Extension names  are separated by a space and do notinclude                the preceding periods.To change:      Use Notepad to edit the WIN.INI file.____________________________________________________________Run=<filename(s)>Default:        NonePurpose:        Causes Windows to run one or more specified applicationswhen                Windows is started. The value is a list of one or more                filenames of applications, or documents associated with                applications, each separated by a space. Make sure you                specify the complete path if the application or document is                not located in the Windows directory.To change:      Add the application to the Startup group in Program                Manager.____________________________________________________________ScreenSaveActive=<0-or-1>Default:        0Purposes:       Specifies whether a screen saver should be displayed if                Windows is not actively being used. Setting this value to1,                enables a screen saver. Setting this value to 0 disables a                screen saver.To change:      Choose the Desktop icon from the Control Panel window.____________________________________________________________ScreenSaveTimeOut=<seconds>Default:        120Purpose:        Specifies the amount of time that Windows must be idlebefore                the screen saver appears.To change:      Choose the Desktop icon from the Control Panel window.____________________________________________________________Spooler=<yes-or-no>Default:        YesPurpose:        Specifies whether or not to send output to the printer                through Print Manager. Changing this value to no disables                Print Manager.To change:      Choose the Printers icon from the Control Panel window                and select or clear the Use Print Manager check box.____________________________________________________________SwapMouseButtons=<0-or-1>Default:        0Purpose:        Specifies whether or not to swap the right and left mouse                buttons. If the value is 1, the buttons are swapped.To change:      Choose the Mouse icon from the Control Panel window.____________________________________________________________TransmissionRetryTimeout=<seconds>Default:        90 for PostScript printers; 45 for all other printers.Purpose:        Specifies the default amount of time to give Windows for                attempted transmission retries. A value is saved for each                printer in the [PrinterPorts] section. If a successful                transmission does not occur during this time, Windows Print                Manager displays a message stating that the printer is not                receiving characters.To change:      Use Notepad to edit the WIN.INI file. This setting serves                only as the system default value. To change the value for a                particular printer, choose the Printers icon from theControl                Panel window or choose the Printer Setup command from the                Print Manager Options menu. Changing this setting by using                Control Panel or Print Manager changes the corresponding                value only in the [PrinterPorts] section.____________________________________________________________[desktop] Section SettingsThe [desktop] section contains optional settings that control theappearance of the screen background (desktop) and the positioning ofwindows and icons on the screen.The [desktop] section can contain the following settings:____________________________________________________________GridGranularity=<number>Default:        0Purpose:        Specifies the size (in units of eight pixels) of the grid                that Windows uses to position windows on the screen. Youcan                specify a number between 0 and 49.To change:      Choose the Desktop icon from the Control Panel window.____________________________________________________________IconSpacing=<pixels>Default:        77Purpose:        Specifies the number of pixels that will appearhorizontally                between icons. Increasing this number increases the amountof                horizontal space between icons.To change:      Choose the Desktop icon from the Control Panel window.____________________________________________________________IconTitleFaceName=<fontname>Default:        MS Sans SerifPurpose:        Specifies the font used for displaying icon titles. Change                this value if the icon title is difficult to read.To change:      Use Notepad to edit the WIN.INI file.____________________________________________________________IconTitleSize=<number>Default:        8Purpose:        Specifies the size of the font used for displaying icon                titles. Change this value if the icon title is difficult to                read.To change:      Use Notepad to edit the WIN.INI file.____________________________________________________________IconTitleStyle=<0-or-1>Default:        0Purpose:        Specifies whether the icon title text should be bold. When                the value is set to 1, the icon title text is bold. Whenthe                value is set to 0, the icon title appears in regular text.To change:      Use Notepad to edit the WIN.INI file.____________________________________________________________IconTitleWrap=<0-or-1>Default:        1Purpose:        Specifies whether or not to wrap icon titles. A value of 1                enables icon title wrapping and increases icon vertical                spacing by 3 lines. A value of 0 disables icon titlewrappingTo change:      Choose the Desktop icon from the Control Panel window.____________________________________________________________IconVerticalSpacing=<pixels>Default:        Windows determines the default value based on the icontitle                font and the display you are using.Purpose:        Specifies the number of pixels that will appear vertically                between icons. Increasing this number increases the amountof                vertical space between icons.To change:      Use Notepad to edit the WIN.INI file.____________________________________________________________Pattern=<b1 b2 b3 b4 b5 b6 b7 b8>Default:        "(None)"  (This string appears when no pattern isspecified).Purpose:        Specifies a pattern that is used to paint the screen                background. The eight numeric values define a bitmap eight                pixels wide and eight pixels high. Each decimal value                represents a byte, and each byte represents a row of eight                pixels. The following shows the effect of setting a bit:   Setting      Effect   0            Sets the corresponding pixel to the                background color specified by the Background                setting in the [colors] section).   1            Sets the corresponding pixel to the foreground                color (specified the WindowText setting in the                [colors] section).For example, if you set the <b1> value to the decimal value175, the top row of pixels in the bitmap will appear as thebinary equivalent (10101111) according to the precedingtable.To change:      Choose the Desktop icon from the Control Panel window.____________________________________________________________TileWallpaper=<0-or-1>Default:        0Purpose:        Specifies whether to center the desktop wallpaper or tileit                across the screen. When this setting is 0 the wallpaper is                centered. When this value to 1 the wallpaper is tiled.To change:      Choose the Desktop icon from the Control Panel window.____________________________________________________________Wallpaper=<bitmap-filename>Default:        "(None)"  (This string appears when no pattern isspecified)Purpose:        Supplies the name of a bitmap file. This bitmap appears on                the screen background. You need to include the fullpathname                of the file if it is not in  the Windows or systemdirectory.To change:      Choose the Desktop icon from the Control Panel window.____________________________________________________________[extensions] Section SettingsThe [extensions] section contains settings that link groups ofdocument files with an application so that opening one of the documentfiles automatically starts the application.The [extensions] section can contain settings of the following type:____________________________________________________________<extension>=<command-line>Purpose:        Contains a list of filename extensions that identify                documents, and corresponding command lines that are invoked                when you choose a file that has  the associated extensions.                The <extension> keyname is an extension of one to three                characters. The <command-line> value is an ordinary DOS                command line. The command line always begins with an                application filename (with the .EXE extension). This can be                followed by any command parameters the application needs,                usually including the document filename. The caret (^)                character can be used when the original document filenameis                needed in the command line; the caret is replaced by the                document filename without any extension. The most typical                <extension> entries list the application name and the                document name; for example:                cal=calendar.exe ^.cal                If you run a file called MYFILE.CAL after this association                has been made, the Calendar progam will start and                automatically open the file named MYFILE.To change:      Choose Associate from the File menu in File Manager.____________________________________________________________[intl] Section SettingsThe [intl] section describes how to display dates, times, currencyamounts, and other items for countries other than the United States.The default values reflect U.S. options.To change any setting in this section, choose the International iconfrom the Control Panel window.The [intl] section can contain the following settings:____________________________________________________________iCountry=<country-code>Default:        1Purpose:        Specifies the country code. This number matches thecountry's                international telephone code, except for Canada, which is2.____________________________________________________________iCurrDigits=<number>Default:        2Purpose:        Specifies the number of digits to put after the decimal                separator in currency.____________________________________________________________iCurrency=<number>Default:        0Purpose:        Specifies a currency format according to the following:                        Value           Format__________________________________________________0               $21               2$2               $ 23               2The actual currency symbol is specified by the sCurrencyvalue.____________________________________________________________iDate=<number>Default:        0Purpose:        Specifies a numerical date format according to thefollowing:Value           Format___________________________________________________0               12/31/901               31/12/902               90/12/31The actual date divider is specified by the sShortDate value.This setting is not used by Windows 3.x and exists only forcompatibility with Windows 2.x.____________________________________________________________iDigits=<number>Default:        2Purpose:        Specifies the number of digits to display after the decimal                separator in numbers.____________________________________________________________iLZero=<0-or-1>Default:        0Purpose:        Specifies whether to put leading zeros in decimal numbers                according to the following:Value           Format____________________________________________________0               .71               0.7The actual decimal separator is specified by the sDecimalsetting.____________________________________________________________iMeasure=<0-or-1>Default:        1Purpose:        Specifies the measurement system according to thefollowing:Value           System___________________________________________________0               Metric1               English____________________________________________________________iNegCurr=<number>Default:        0Purpose:        Specifies a negative number format according to thefollowing:Value           Format____________________________________________________0               ($1)1               -$12               $-13               $1-4               (1$)5               -1$6               1-$7               1$-8               -1 $9               -$ 10               $ 1-The actual currency symbol is specified by the sCurrencysetting.____________________________________________________________iTime=<number>Default:        0Purpose:        Specifies whether to format time using a 12-hour clock or a24-hour clock.Value           Format          Meaning0                       1:00                    12-hour clock1                       13:00           24-hour clockThe actual time separator is specified by the sTime setting.____________________________________________________________iTLZero=<number>Default:        0Purpose:        Specifies whether to put leading zeros in time according to                the following:Value           Format__________________________________________________0               9:151               09:15The actual time separator is specified by the sTime setting.____________________________________________________________s1159=<string>Default:        AMPurpose:        Specifies the string that follows times before noon in the                12-hour time format.____________________________________________________________s2359=<string>Default:        PMPurpose:        Specifies the string that follows times after noon in the12-                hour format or that follows all times in the 24-hour format                (for example, GMT).____________________________________________________________sCountry=<string>Default:        United StatesPurpose:        Specifies the name of the country whose standard settingyou                want to use.____________________________________________________________sCurrency=<string>Default:        $Purpose:        Specifies the currency symbol you want to use.____________________________________________________________sDecimal=<string>Default:        .Purpose:        Specifies the punctuation used to separate the fractional                part of a decimal number from the whole number part.____________________________________________________________sLanguage=<string>Default:        enuPurpose:        Specifies the language you want to work in. Windows                applications that provide language-specific tasks, such as                sorting or spell-checking, use this setting. The following                are the standard values:Value           Languagedan             Danishdeu             Germaneng             International Englishenu             U.S. Englishesn             Modern Spanishesp             Castilian Spanishfin             Finnishfra             Frenchfrc             French Canadianisl             Icelandicita             Italiannld             Dutchnor             Norwegianptg             Portuguesesve             Swedish____________________________________________________________sList=<string>Default:        ,Purpose:        Specifies the character used to separate items in a list.In                U.S. English, the most common separator is a comma.____________________________________________________________sLongDate=<date-picture>Default:        dddd, MMMM dd, yyyy (e.g., Friday, June 1, 1990)Purpose:        Specifies your choice for the long date format, including                abbreviations for the words and different separators,                according to the following:Date Picture    Item            FormatM                       Month   1-12MM                      Month   01-12MMM                     Month   Jan-DecMMMM                    Month   January-Decemberd                       Day             1-31dd                      Day             01-31ddd                     Day             Mon-Sundddd                    Day             Monday-Sundayyy                      Year            00-99yyyy                    Year            1900-2040If you want to include the letters d, y, or m in the separator strings, youmust enclose the separator strings in single quotation marks, if you areediting the WIN.INI file directly. Control Panel will automatically insertsingle quotation marks in the correct places. In addition, Control Panelwill accept only certain date-picture combinations. Therefore, you shoulduse Control Panel to change this setting.____________________________________________________________sShortDate=<date-picture>Default:        M/d/yy (e.g., 6/1/90)Purpose:        Specifies your choice for the short date format, including                abbreviations for the words and different separators,                according to the list described above in the sLongDate                listing. Control Panel will accept only certain date-picture                combinations. Therefore, you should use Control Panel to                change this setting.____________________________________________________________sThousand=<string>Default  ,Purpose:        Specifies the symbol used to separate thousands in a number                with more than three digits. An example, if the value is a                comma (,), is 3,000.____________________________________________________________sTime=<string>Default:        :Purpose:        Specifies the character used to separate the hours,minutes,                and seconds in time. An example, if the value is a colon(:),                is 15:29:31.____________________________________________________________[ports] SectionThe [ports] section lists all available communications and printerports, and defines default values; it also lists files to whichprinter output can be sent.The [ports] section can contain up to 10 occurrences of the followingsetting. Any additional occurrences are ignored by Windows.____________________________________________________________<portname>:=<baud-rate>,<parity>,<word-length>,<stop-bits>[[,p]]Purpose:        Specifies an available output port. You can specify no more                than 10 ports.                The <portname> keyname must be the name of an output portas                it is recognized by MS-DOS. This keyname can be COMx:(serial                port, where x represents the port number), LPTx: (aparallel                port, where x represents the port number), EPT: (used for a                specific IBM printer), LPTx.DOS (a parallel port used to                bypass Windows printing and print directly to a port, wherex                represents the port number), FILE:, or a filename.                For COM ports, the <baud-rate> value specifies the port's                baud rate; the <word-length> value gives the length of aword                (in bits); the <stop-bits> value gives the number of stop                bits to be used; and the [[,p]] option specifies that                hardware handshaking is in effect.                LPT (parallel), EPT, FILE, and LPTx.DOSports do not takeany                parameters.                The LPTx.DOS ports are used (instead of the correspondingLPT                port) to print directly to the port and bypass the Windows'                special output handling. This port is provides compatiblity                with Windows version 3.0.                Specifying a filename for the <portname> will direct output                to that file. A filename, unlike the other port names, must                not be followed by a colon (:).                By using FILE:=, Windows will prompt you to specify a                filename for the print file when you print.To change COM port settings: Choose the Ports icon from the Control Panel                window. To change or add other ports:  Use Notepad to edit                the WIN.INI file.____________________________________________________________LPT1.DOS=<pathname>LPT2.DOS=<pathname>LPT3.DOS=<pathname>LPT4.DOS=<pathname>Default:        NonePurpose:        Enables printing directly to a parallel port. Use these                settings to bypass Windows' special parallel port output                handling when printing.To change:      Use Notepad to edit the WIN.INI file.____________________________________________________________[fonts] Section SettingsThe [fonts] section describes one or more font files that are loadedwhen Windows is started.The [fonts] section can contain one or more occurrences of thefollowing setting:____________________________________________________________<font-name>=<font-file>Purpose:        Specifies a font file. The <font-name> keyname is the                descriptive name of a font. The <font-file> value is the                filename of a file that contains font resources. To change:     Choose the Fonts icon from the Control Panel window.____________________________________________________________[FontSubstitutes] Section SettingsThe [FontSubstitutes] section describes fonts which are recognized byWindows as the same typeface. This is useful if you want to work ondocuments created using Windows 3.0 that include fonts whose nameshave changed in Windows 3.1.The [FontSubstitutes] section contains one or more occurrences of thefollowing setting:____________________________________________________________<font-name>=<font-name>Default:        Helv=MS Sans Serif                Tms Rmn=MS Serif                Times=Times New Roman                Helvetica=ArialPurpose:        Specifies the font that Windows will use in place of                another font, only if that font is not installed on your                system. For example, if you are viewing a document that is                formatted in Helvetica, but Helvetica is not installed on                your system, Windows will use Arial to display thedocument.To change:      Use Notepad to edit the WIN.INI file.____________________________________________________________[TrueType] Section SettingsThe [TrueType] section describes options that affect the use anddisplay of TrueType fonts in your Windows applications.The [TrueType] section can contain the following settings:____________________________________________________________OutlineThreshold=<number-of-pels-per-em>Default:        256Purpose:        Specifies the number of pels-per-em at which Windows will                render TrueType fonts as outline fonts instead of as bitmap                fonts. Using bitmap fonts is faster, but requires more                memory. If you are low on memory, decrease this value. Donot                specify a value over 300. If you do, you might encounter                problems using  TrueType fonts. To change:     Use Notepad to edit the WIN.INI file.____________________________________________________________TTEnable=<0-or-1>Default:        1Purpose:        Enables or disables TrueType fonts. Setting this value to 1                enables TrueType fonts so that they are available in your                Windows applications. Setting this value to 0 disables                TrueType fonts. In this case, TrueType fonts are not                available in your applications.To change:      Choose the Fonts icon from the Control Panel window.____________________________________________________________TTIfCollisions=<0-or-1>Default:        0Purpose:        Specifies whether or not to use TrueType fonts in place of                other fonts if both types of fonts are installed on your                system and have the same font name. If this value is set to                1, the TrueType font will be used. For example, Windows                provides both a bitmap and a TrueType version of the Symbol                font. If you set this value to 0, Windows will use the                TrueType version.To change:      Use Notepad to edit the WIN.INI file.____________________________________________________________TTOnly=<0-or-1>Default:        0Purpose:        Specifies whether or not to list only TrueType fonts in the                fonts dialog box in Windows applications. If this value is                set to 1, only TrueType fonts are listed. If this value is                set to 0, all fonts installed on your system are listed.To change:      Choose the Fonts icon from the Control Panel window.____________________________________________________________[mci extensions] Section SettingsThe [mci extensions] section contains settings that associatedifferent types of media files with different Media Control Interfacedevice drivers. Whenever a media file is selected, Windows will usethe associated driver to play it.The [mci extensions] section can contain one or more occurrences ofthe following setting:____________________________________________________________<extension>=<mci-device-type>Purpose:        Associates files that have the specified extension with the                specified MCI device driver. Windows uses the specified                driver to play the media file associated with it.To change:      Use Notepad to edit the WIN.INI file.____________________________________________________________[network] Section SettingsThe [network] section describes network settings and previous networkconnections.The [network] can contain the following settings:____________________________________________________________<drive>=<network server and share>Purpose:        Shows the network connections that are restored each time                Windows is started.To change:      Choose the Network Connections command from the Disk menu                in File Manager.____________________________________________________________InRestoreNetConnect____________________________________________________________Restore=<0-or-1>Default:        1Purpose:        Specifies whether or not to reconnect to the networkservers                you were connected to in your previous Windows session.This                setting works for MSNet, Lan Manager Basic, and Lan Manager                2.0. If this value is set to 1, you will be reconnected to                the network servers each time you start Windows. If this                value is set to 0, you will not be reconnected.To change:      Choose the Networks option from the Control Panel window,                or if the Network dialog box for your network does not                include a reconnect option, use Notepad to edit the WIN.INI                file.____________________________________________________________<port>=<network printer path>Purpose:        Shows the path for a network printer and the port theprinter                is assigned to. This connection is restored each timeWindows                is started.To change:      Choose the Printers option from the Control Panel window,                or the  Network Connections command from the Options menuin                Print Manager.____________________________________________________________[embedding] Section SettingsThe [embedding] section lists the OLE objects, their description, theprogram that is used to create them, and their file format. Thisinformation also appears in the Registration Info Editor. It is recommendedthat you use the Registration Info Editor to register applications or editapplication information for OLE. The [embedding] section is included in theWIN.INI file only to maintain compatibility with Windows 3.0 and 3.0applications.The [embedding] section can contain one or more occurrences of thefollowing setting:____________________________________________________________<object>=<description>,<description>,<program file>,<format>Purpose:        Specifies the objects used as servers for OLE. The <object>                keyname specifies the name of the server object.                The <description> keynames provide a description of the                server object. The second description appears in the listof                registered file types in the Registration Info Editor.                The <program file> keyname identifies the path and name of                the executable file for the application that is used to                create the object.                The <format> keyname identifies the format of the file. The                value for this setting is most often "picture", which is                metafile format.To change:      Run the Registration Info Editor (REGEDIT.EXE) from File                Manager or from Program Manager.____________________________________________________________[Windows Help] Section SettingsThe [Windows Help] section includes settings that specify the size andplacement of the Help window and dialog boxes, as well as the color oftext that, when chosen, displays a macro, pop-up window, or new panel.The [Windows Help] section can include the following settings:____________________________________________________________M_WindowPosition=<number>,<number>, <number>,<number>,<number>H_WindowPosition=<number>,<number>, <number>,<number>,<number>A_WindowPosition=<number>,<number>, <number>,<number>,<number>C_WindowPosition=<number>,<number>, <number>,<number>,<number>Purpose:        Defines the default size and position of the main Help                window, and the History, Annotate, and Copy dialog boxes.                The first <number> defines the x coordinate of the upper-left                corner. The second <number> defines the y coordinate of the                upper-left corner. Both these numbers define the default                position of the main Help window, and the History,Annotate,                and Copy dialog boxes.                The third <number> defines the default width of the Help                window and dialog boxes. The fourth <number> defines the                default height of the Help window and dialog boxes. Both                height and width are measured in pixels.                The fifth <number> specifies whether or not the main Help                window is maximized. A value of 1 indicates that it is                maximized. A value of 0 indicates that the main window isthe                default height and width. Changing this value has no effect                on the size of the dialog boxes, since they cannot be                maximized.To change:      Move or size the main Help window, or the History,                Annotate, or Copy dialog boxes. The values are updated inthe                WIN.IN file automatically.____________________________________________________________JumpColor=<red-value> <green-value> <blue-value>Purpose:        Specifies the color of text that, when chosen, leads to anew                panel of help information. For example, entering 000 000000                as values results in black text on a white background.To change:      Use Notepad to edit the WIN.INI file.____________________________________________________________PopupColor=<red-value> <green-value> <blue-value>Purpose:        Specifies the color of text that, when chosen, displays a                pop-up panel (the type of panel used for glossary                definitions). For example, entering 000 000 000 as values                results in black text on a white background.To change:      Use Notepad to edit the WIN.INI file.____________________________________________________________MacroColor=<red-value> <green-value> <blue-value>Purpose:        Specifies the color of text that, when chosen, runs a Help                macro.To change:      Use Notepad to edit the WIN.INI file.____________________________________________________________IFJumpColor=<red-value> <green-value> <blue-value>Purpose:        Specifies the color of text that, when chosen, leads to anew                panel of help information, located in a different helpfile.To change:      Use Notepad to edit the WIN.INI file.____________________________________________________________IFPopupColor=<red-value> <green-value> <blue-value>Purpose:        Specifies the color of text that, when chosen, displays a                pop-up panel (the type of panel used for glossary                definitions), located in a different help file.To change:      Use Notepad to edit the WIN.INI file.____________________________________________________________[sounds] Section SettingsThe [sounds] section lists the system events that support sound andthe sound files that are assigned to each event.The [sounds] section can contain one or more occurrences of thefollowing setting:____________________________________________________________<system event>=<filename>,<description>Purpose:        Specifies the sound file assigned to and a description of a                system event. The <filename> is the name of the sound file.                The <description>  is a text string that describes thesystem                or application event.To change:      Choose the Sound icon in the Control Panel window.____________________________________________________________[PrinterPorts] Section SettingsThe [PrinterPorts] section lists the printers Windows can use and theprinter driver, port assignment, and timeout values for each printer.The [PrinterPorts] section can contain one or more occurrences of thefollowing setting:----------------------------------------------------------------------<device-name>=<driver-name>, <port-name>,<DeviceNotSelectedTimeout>,<TransmissionRetryTimeout>[[,<port-name>,<DeviceNotSelectedTimeout>,<TransmissionRetryTimeout>,...]]Purpose:        Specifies driver, port, and timeout information for a                printer.                The <device-name> keyname is the name of the printer. The                <driver-name>  value is the printer driver filename.                The <port-name> value is the name of the port assigned tothe                printer. If a printer is not assigned to a port the                <port-name> value is the string specified in the NullPort                setting (in the [windows] section).                The <TransmissionRetryTimeout> value determines the amountof                time (in  seconds) allowed for attempted transmission                retries.                The <DeviceNotSelectedTimeout> value determines the numberof                seconds Print Manager will wait for the device to beswitched                on.                If the timeout values are not specified for a particular                port, Windows uses the default settings listed in the                [windows] section for that port.Caution: When changing a setting in this section, be sure it does notconflict with a corresponding setting in the [devices] section. Problemsmay occur if an installed printer does not appear in the [PrinterPorts]section.To change:      Choose the Printers icon from the Control Panel window or                choose the Printer Setup command from the Print Manager                Options menu.____________________________________________________________[devices] Section SettingsThe [devices] section lists the installed printers. The settings inthis section match those in the [PrinterPorts] section, without thetimeout values. This section is necessary only for Windows version 2.xapplications, which look to the [devices] section for thisinformation.The [devices] section can contain one or more occurrences of thefollowing setting:____________________________________________________________<device-name>=<driver-name>, <port-name> [[,<port-name>,...]]  Purpose:      Specifies an installed printer.                The <device-name> keyname is the name of the printer. The                <driver-name> value is the printer driver filename. The                <port-name> value specifies the port that is assigned tothe                printer. If the printer is not currently assigned to aport,                the <port-name> value is the string specified in theNullPort                setting (in the [windows] section).Caution: When changing a setting in this section, be sure it does notconflict with a corresponding setting in the [PrinterPorts] section.Problems may occur if an installed printer does not appear in the[PrinterPorts] section.To change:      Choose the Printers icon from the Control Panel window or                choose the Printer Setup command from the Print Manager                Options menu.____________________________________________________________[Programs] Section SettingsIf you use File Manager or Program Manager to open a document filethat is associated with a file type in the Registration Database, andFile Manager or Program Manager cannot find the program file thatstarts the application specified by the file type, Program Manager orFile Manager will look in the [Programs] section ot the WIN.INI filefor the path to the program file. If the path is not in the [Programs]section, Program Manager or File Manager will display a dialog box inwhich you can specify the path. The path you specify is then added tothe [Program] section.The [Program] section can contain one or more occurrences of thefollowing settings:____________________________________________________________<program file>=<drive>:<directory>\<program file>Purpose:        Specifies the drive, directory, and executable program file                needed to start an application.                The <program file> keyname specifies the name of theprogram                file that Windows was searching for when you tried to open                the associated data file.                The <drive> keyname specifies the drive on which theprogram                file is located. The <directory> keyname specifies the                directory in which the program file is located. The second                <program file> keyname specifies the name of the executable                program file, located in the specified drive and directory,                needed to start the associated application.____________________________________________________________[colors] Section SettingsThe [colors] section defines the colors for components of the Windowsdisplay.The colors section can contain settings of the following type:____________________________________________________________<component>=<red-value> <green-value> <blue-value>Purpose:        The <red-value>, <green-value>, and <blue-value> values are                integers  that specify the relative intensities of red,blue,                and green, respectively. These settings can range from 0                (minimum intensity) to 255 (maximum intensity).                The <component> keyname can be any one of the following:Keyname             Refers toActiveBorder        Border of the active windowActiveTitle         Active title barAppWorkspace        Application workspace for WindowsapplicationsBackground          Screen background (desktop)ButtonFace          Button faceButtonHilight       Highlight around the top and leftside of buttonsButtonShadow        Button shadowButtonText          Button textGrayText            Text that is dimmed (as in an unavailable                    command name)Hilight             Background of highlighted textHilightText         Highlighted textInactiveBorder      Border of the inactive windowInactiveTitle       Inactive title barInactiveTitleText   Inactive title-bar textMenu                Menu backgroundMenuText            Menu textScrollbar           Scroll barTitleText           Title-bar textWindow              Window workspaceWindowFrame         Window frameWindowText          Window textTo change:      Choose the Color icon from the Control Panel window.Reference(s):Microsoft Windows Resource Kit 3.1, "WININI.WRI".
3.1 3.10 win31
Properties

Article ID: 83433 - Last Review: 07/30/2001 13:50:00 - Revision: 1.0

  • KB83433
Feedback