'; window.popUpWin.document.write(zhtm); window.popUpWin.document.close(); // Johnny Jackson 4/28/98 } //--> Windows 98 Professional Reference -- Ch 32 -- Windows 98 Configuration Files


Windows 98 Professional Reference

Previous chapterNext chapterContents


- 32 -
Windows 98 Configuration Files



W indows 98 relies on certain key files when it starts. These files affect the configuration and operating behavior of Windows 98, and you can make changes that directly change these values. Under Windows 98, the following are key startup configuration files:

You can edit all of these files except for IO.SYS, which is included in the list because it plays a key role in startup configuration (as you will see). In this chapter, you learn about how these files work, when they are accessed, and what changes you can make to them. Any of the editable files can be edited with any text editor, such as Windows Notepad or the MS-DOS EDIT command.

IO.SYS and MSDOS.SYS

The IO.SYS and MSDOS.SYS files are the first files processed as Windows 98 boots. IO.SYS is a binary file that is not editable, but which sets certain parameters for the system. You can override the settings made by IO.SYS with countermanding settings in CONFIG.SYS. (These commands were set by CONFIG.SYS prior to Windows 95.) You may want to change the commands set by IO.SYS when running Windows 98 in command-prompt mode (via the Windows Startup menu) or the configuration of the DOS virtual machines within Windows 98.

The commands set by IO.SYS (some of them changeable by countermanding commands in CONFIG.SYS) are as follows:

For more detail on setting CONFIG.SYS commands such as the preceding, see the following section, "CONFIG.SYS."

The MSDOS.SYS file is an editable text file that contains commands that control how Windows 98 starts. Table 32.1 details the possible MSDOS.SYS settings and their affects.

Table 32.1 Possible Settings for MSDOS.SYS

Setting Description
HostWinBootDrv=x Specifies the drive letter of the root directory from which Windows 98 boots.
WinBootDir=x Specifies the directory in which Windows 98 is installed. It is usually set to C:\WINDOWS.
WinDir=x Specifies the directory in which Windows 98 is installed. It is usually set to be the same as WinBootDir.
BootDelay=x No longer needed in Windows 98, this caused a brief delay when the message "Loading Windows 95" was displayed so that the user could press the F8 key to access the Windows Startup menu.
BootFailSafe=x When set to 1, causes the system to start in Safe Mode. Set to 0, the system starts normally.
BootGUI=x Set to 1 (the default), initializes the Windows 98 graphical user interface during startup. Setting it to 0 causes a command prompt version of Windows 98 to be started instead.
BootKeys=x No longer needed in Windows 98, this setting set to 1 enabled the startup keys (F5, F6, and F8) under Windows 95.
BootMenu=x When set to 1, automatically displays the Windows Startup menu. Set to 0 the system boots normally.
BootMenuDefault=x Sets the default Windows Startup menu selection if no action is taken by the user for the number of seconds specified in BootMenuDelay.
BootMenuDelay=x Sets the number of seconds (default is 30) to display the Windows Startup menu before the default startup action is taken.
BootMulti=x Set to 1, this enables dual-booting with MS-DOS or Windows NT.
BootWarn=x Set to 1 (the default), this causes the Safe Mode startup warning to appear.
BootWin=x Set to 1 (the default), this causes Windows 98 to be the primary OS on the machine; setting it to 0 causes MS-DOS (if installed) to be the default.
DblSpace=x Set to 1 (the default), causes DoubleSpace support to be automatically loaded during startup.
DoubleBuffer=x Set to 1, this enables double-buffering for any connected SCSI devices. The default is 0.
DrvSpace=x Set to 1 (the default), this enables the automatic loading of DriveSpace support during startup.
LoadTop=x Set to 1 (default is 0), causes COMMAND.COM and DRVSPACE.BIN to load at the top of the 640-KB real-mode memory space; this can be required for compatibility with some real-mode network drivers.
Logo=x Set to 1 (the default), causes the Windows 98 animated splash screen to display while system startup is carried out.
Network=x If set to 1, enables a Windows Startup menu choice of Safe Mode with Networking. If networking is installed, the default is 1, otherwise it is 0.

CONFIG.SYS

Windows 98 uses a file called IO.SYS for the purpose originally served by CONFIG.SYS, which is to load key device drivers and initialize the most basic parts of the operating system before the command environment is created. CONFIG.SYS still exists in Windows 98, however, for compatibility purposes with older applications. In fact, some older MS-DOS applications could refuse to run if they don't find a particular command present in the CONFIG.SYS file, regardless of whether or not the settings in IO.SYS would satisfy their needs. For most Windows 98 systems, no commands are needed in CONFIG.SYS; all its former purposes should be served by IO.SYS and drivers loaded directly by Windows 98.

When Windows 98 is installed on top of an MS-DOS/Windows 3.x system, the following lines in CONFIG.SYS are automatically deleted, if found:

In addition to the preceding, many other lines may be deleted if found, such as those required to support other operating systems, or those used by older applications that might conflict with the smooth operation of Windows 98.

Commands listed in CONFIG.SYS are loaded in the order in which they appear in the file. Table 32.2 details the commands possible in Windows 98's CONFIG.SYS file.

Table 32.2 Possible CONFIG.SYS Commands in Windows 98

Command Description
BREAK=ON/OFF Enables or disables extended Ctrl+C or Ctrl+Break checking in MS-DOS virtual machines.
BUFFERS=x Specifies a number of disk buffers to use for caching file reads and writes for older MS-DOS programs. The Windows 98 default is 30; setting lower values in CONFIG.SYS is ignored.
COUNTRY=x Used for specifying different country conventions (display of dates, currency symbols, etc.).
DEVICE=x Loads the real-mode device driver specified by x.
DEVICEHIGH=x Loads the real-mode device driver specified by x into upper memory.
DOS=HIGH/LOW,UMB Loads part of MS-DOS into the Upper Memory Area (HMA) if DOS=HIGH is specified. Adding, UMB causes MS-DOS to manage the Upper Memory Blocks (UMBs).
DRIVPARM=x Sets device driver parameters for drives on the system.
FCBS=x Creates File Control Blocks for access by some older MS-DOS applications. By default this is set to 4; you must specify a greater number in CONFIG.SYS or this line will be ignored.
FILES=x Creates file handles for older MS-DOS applications. By default this value is set to 60; you must specify a greater number in CONFIG.SYS or this line will be ignored.
LASTDRIVE=x Sets the number of drive letters available to MS-DOS programs. By default this value is set to the letter z.
REM Causes text on the remainder of the line to be ignored; used for including remarks in the file.
SHELL=x Used to specify the command processor, which is COMMAND.COM by default.
STACKS=x,x Specifies a quantity and size of stack frames to be created in the MS-DOS virtual machines. The default setting is 9,256.

By using the DEVICE= statement, you can choose to load the following device drivers in CONFIG.SYS if needed; they are still included with Windows 98 for compatibility purposes:

You can also choose to load other device drivers that may be required and that you may have from other sources; the preceding list merely represents the CONFIG.SYS drivers included with Windows 98 for compatibility purposes.

AUTOEXEC.BAT

AUTOEXEC.BAT is an MS-DOS batch file executed automatically as Windows 98 boots. Included for compatibility with MS-DOS programs, it is not needed for most Windows 98 systems.

Under previous versions of MS-DOS and Windows 3.x, certain commands were commonly placed in AUTOEXEC.BAT for the startup environment. These settings are now made in IO.SYS and are not needed in AUTOEXEC.BAT, even for MS-DOS virtual machines; however, you can specify changes to modify most of these settings in AUTOEXEC.BAT if needed. The default settings provided by IO.SYS now include the following:

If you edit AUTOEXEC.BAT under Windows 98, you'll have to observe some precautions to avoid problems:

WIN.INI and SYSTEM.INI

WIN.INI is an initialization file originally used in the Windows 3.x family of products. Some Win16 applications may still rely on settings in this file, and may still make changes to this file to create the desired behavior under Windows 98. Because of this, WIN.INI is still included with Windows 98 and still functions, although some of the lines used under Windows 98 are removed during installation and instead now exist purely in the Registry.

When you make changes to Windows 98's configuration, those changes are automatically updated into the appropriate INI files (if they're supposed to be listed there). For instance, when you make desktop configuration changes, WIN.INI is updated by Windows 98.

Some common WIN.INI section headings are shown in Table 32.3.

Table 32.3 Common WIN.INI Section Headings

Section Heading Description
[windows] Settings load and run programs when Windows starts.
[Desktop] Settings define graphical configuration of the desktop.
[Intl] Settings define country-specific configuration information.
[Fonts] Incremental fonts loaded in the system.
[FontSubstitutes] TrueType font substitutions for common font families.
[Compatibility] Configuration changes for compatibility of Win16 applications.
[Compatibility32] Configuration changes for compatibility applications. of certain Win32
[mci extensions] Drivers needed to process multimedia files.
[MCICompatibility] Compatibility settings for certain multimedia types.
[ModuleCompatibility] Compatibility settings for certain software modules.
[Extensions] Settings define which Win16 applications are associated with which file extensions.
[Ports] Ports and their default settings.
[embedding] OLE information.
[Devices] Additional device drivers.
[PrinterPorts] Printer ports.
[Colors] System color settings.

In addition to WIN.INI, there also exists a file called SYSTEM.INI that behaves similarly, but is oriented toward operating system settings rather than application and desktop settings under Windows. You will generally not need to make manual changes to SYSTEM.INI unless instructed by a support person from Microsoft or an applications vendor. However, a sample SYSTEM.INI is shown in Listing 32.1.

Listing 32.1  A Sample SYSTEM.INI

subtype=
type=4
keyboard.dll=
oemansi.bin=
[boot.description]
keyboard.typ=Standard 101/102-Key or Microsoft Natural Keyboard
aspect=100,96,96
display.drv=S3 Vision968 PCI
mouse.drv=Standard mouse
system.drv=Standard PC
[386Enh]
ebios=*ebios
device=*vshare
device=*dynapage
device=*vcd
device=*vpd
device=*int13
mouse=*vmouse, msmouse.vxd
woafont=dosapp.fon
PagingDrive=G:
device=*enable
keyboard=*vkd
[power.drv]
[drivers]
wavemapper=*.drv
MSACM.imaadpcm=*.acm
MSACM.msadpcm=*.acm
wave=mmsystem.dll
midi=mmsystem.dll
[iccvid.drv]
[mciseq.drv]
[mci]
cdaudio=mcicda.drv
sequencer=mciseq.drv
waveaudio=mciwave.drv
avivideo=mciavi.drv
videodisc=mcipionr.drv
vcr=mcivisca.drv
QTWVideo=C:\WIN95\SYSTEM\MCIQTW.DRV
MPEGVideo=mciqtz.drv
[NonWindowsApp]
TTInitialSizes=4 5 6 7 8 9 10 11 12 13 14 15 16 18 20 22
[vcache]
[NWNP32]
[MSNP32]
[display]
[drivers32]
msacm.msg711=msg711.acm
vidc.CVID=iccvid.dll
VIDC.IV31=ir32_32.dll
VIDC.IV32=ir32_32.dll
vidc.MSVC=msvidc32.dll
VIDC.MRLE=msrle32.dll
MSACM.MSNAUDIO=msnaudio.acm
VIDC.IV50=ir50_32.dll
msacm.lhacm=lhacm.acm
msacm.msg723=msg723.acm
vidc.M263=msh263.drv
vidc.M261=msh261.drv
msacm.l3acm=l3codeca.acm
VIDC.VDOM=vdowave.drv
VIDC.MPG4=msscmc32.dll
vidc.vivo=ivvideo.dll
msacm.vivog723=vivog723.acm
msacm.voxacm119=vdk32119.acm
VIDC.TR20=tr2032.dll
VIDC.UCOD=clrviddd.dll
msacm.l3codec
msacm.iac2=C:\WIN95\SYSTEM\IAC25_32.AX
VIDC.IV41=ir41_32.dll
VIDC.YVU9=iyvu9_32.dll
MSACM.imaadpcm=imaadp32.acm
MSACM.msadpcm=msadp32.acm
MSACM.msgsm610=msgsm32.acm
MSACM.trspch=tssoft32.acm
[Password Lists]
BRUCEH=C:\WIN95\BRUCEH.PWL
BRUCE=C:\WIN95\BRUCE.PWL
[boot]
system.drv=system.drv
drivers=mmsystem.dll
user.exe=user.exe
gdi.exe=gdi.exe
sound.drv=mmsound.drv
dibeng.drv=dibeng.dll
comm.drv=comm.drv
shell=Explorer.exe
keyboard.drv=keyboard.drv
fonts.fon=vgasys.fon
fixedfon.fon=vgafix.fon
oemfonts.fon=vgaoem.fon
386Grabber=vgafull.3gr
display.drv=pnpdrvr.drv
mouse.drv=mouse.drv
*DisplayFallback=0
[TTFontDimenCache]
0 4=2 4
0 5=3 5
0 6=4 6
0 7=4 7
0 8=5 8
0 9=5 9
0 10=6 10
0 11=7 11
0 12=7 12
0 13=8 13
0 14=8 14
0 15=9 15
0 16=10 16
0 18=11 18
0 20=12 20
0 22=13 22

Conclusion

This chapter described the key Windows 98 startup files MSDOS.SYS, IO.SYS, CONFIG.SYS, AUTOEXEC.BAT, WIN.INI, and SYSTEM.INI. These files still play a role in Windows 98, although most of Windows 98's configuration information resides in the Registry files USER.DAT and SYSTEM.DAT. (See Chapter 10, "Mastering the Windows 98 Registry," for a discussion of the Windows 98 Registry.)

For more information on the role of the Registry and the startup files in the boot process, see Chapter 36, "The Windows 98 Boot Process and Emergency Recovery."


Previous chapterNext chapterContents

Copyright, Macmillan Computer Publishing. All rights reserved.