Boot Windows 98 to Command Line: Crucial Files
Microsoft Windows 98 was built on an MS-DOS 7.1 foundation, meaning it could start directly into a command prompt without launching the graphical user interface. Booting into this pure real-mode environment relied on a minimal set of core bootstrap files, configuration scripts, and a command interpreter located on the root directory of the boot drive.
The Essential Core Files
To successfully reach a functional command line prompt in Windows 98, three foundational system files were strictly required:
IO.SYS
This is the primary real-mode operating system kernel. During the boot process, the Master Boot Record (MBR) and Volume Boot Record (VBR) locate and executeIO.SYS. In Windows 98,IO.SYScombined many legacy MS-DOS functions, initializing essential hardware components, basic memory routines, and standard input/output devices. It serves as the foundation before any user interface or configuration scripts load.MSDOS.SYS
Unlike earlier versions of standalone MS-DOS where this was a compiled binary kernel, Windows 98 turnedMSDOS.SYSinto a plain text configuration file. It contained crucial directives that dictated how the system booted. SettingBootGUI=0insideMSDOS.SYSprevented the Windows graphical environment (WIN.COM) from launching automatically, instructing the operating system to halt at the command line.COMMAND.COM
This is the default command-line interpreter. OnceIO.SYSfinished initializing system resources and processing boot directives, it handed execution over toCOMMAND.COM. This file provided the interactive prompt (C:\>), handled internal commands (such asDIR,COPY, andDEL), and managed batch file execution. WithoutCOMMAND.COM(or an alternative shell specified via configuration), the boot sequence would halt with an error stating the command interpreter could not be found.
Secondary Configuration and Driver Files
While the core trio could deliver a bare-bones prompt, stable and fully functional command line operation typically required additional files:
CONFIG.SYS
A text file processed byIO.SYSduring startup to configure device drivers and system memory parameters. It allowed users to load device drivers usingDEVICE=statements and configure file allocation limits with commands likeFILES=andBUFFERS=.AUTOEXEC.BAT
A batch script executed automatically byCOMMAND.COMupon loading. It set environment variables such asPATHandPROMPT, initialized resident utilities (TSRs) such as mouse drivers (MOUSE.COM), and configured keyboard layouts.HIMEM.SYS
An extended memory manager commonly loaded viaCONFIG.SYS. While a basic prompt could run in the base 640 KB conventional memory without it,HIMEM.SYSwas essential for enabling access to memory above 1 MB (XMS) and high memory areas (HMA), which many DOS-era utilities and software required.